Microplastics (MPs), including conventional hard-to-biodegrade petroleum-based and faster biodegradable plant-based ones, impact soil structure and microbiota in turn affecting the biodiversity and functions of terrestrial ecosystems. Herein, we investigated the effects of conventional and biodegradable MPs on aggregate distribution and microbial community composition in microhabitats at the aggregate scale. Two MP types (polyethylene (PE) and polylactic acid (PLA) with increasing size (50, 150, and 300 μm)) were mixed with a silty loam soil (0–20 cm) at a ratio of 0.5 % (w/w) in a rice–wheat rotation system in a greenhouse under 25 °C for one year. The effects on aggregation, bacterial communities and their co-occurrence networks were investigated as a function of MP aggregate size. Conventional and biodegradable MPs generally had similar effects on soil aggregation and bacterial communities. They increased the proportion of microaggregates from 17 % to 32 %, while reducing the macroaggregates from 84 % to 68 %. The aggregate stability decreased from 1.4 mm to 1.0–1.1 mm independently of MP size due to the decline in the binding agents gluing soil particles (e.g., microbial byproducts and proteinaceous substances). MP type and amount strongly affected the bacterial community structure, accounting for 54 % of the variance. Due to less bioavailable organics, bacterial community composition within microaggregates was more sensitive to MPs addition compared to macroaggregates. Co-occurrence network analysis revealed that MPs exacerbated competition among bacteria and increased the complexity of bacterial networks. Such effects were stronger for PE than PLA MPs due to the higher persistence of PE in soils. Proteobacteria, Bacteroidetes, Chloroflexi, Actinobacteria, and Gemmatimonadetes were the keystone taxa in macroaggregates, while Actinobacteria and Chloroflexi were the keystone taxa in microaggregates. Proteobacteria, Actinobacteria, and Chloroflexi were the most sensitive bacteria to MPs addition. Overall, both conventional and biodegradable MPs reduced the portion of large and stable aggregates, altering bacterial community structures and keystone taxa, and consequently, the functions.