Microplastics (MPs) are emerging contaminants found globally. However, their effects on soil-plant systems in salt-affected habitats remain unknown. Here, we examined the effects of polyethylene (PE) and polylactic acid (PLA) on soil properties, maize performance, and bacterial communities in soils with different salinity levels. Overall, MPs decreased soil electrical conductivity and increased NH4+-N and NO3−-N contents. Adding NaCl alone had promoting and inhibitive effects on plant growth in a concentration-dependent manner. Overall, the addition of 0.2% PLA increased shoot biomass, while 2% PLA decreased it. Salinity increased Na content and decreased K/Na ratio in plant tissues (particularly roots), which were further modified by MPs. NaCl and MPs singly and jointly regulated the expression of functional genes related to salt tolerance in leaves, including ZMSOS1, ZMHKT1, and ZMHAK1. Exposure to NaCl alone had a slight effect on soil bacterial α-diversity, but in most cases, MPs increased ACE, Chao1, and Shannon indexes. Both MPs and NaCl altered bacterial community composition, although the specific effects varied depending on the type and concentration of MPs and the salinity level. Overall, PLA had more pronounced effects on soil-plant systems compared to PE. These findings bridge knowledge gaps in the risks of MPs in salt-affected habitats.