Despite the integral role of the soil microbial community in straw decomposition, we still have a limited understanding of the complex response of microbial community to long-term of crop straw return in rotation system. Here we report on the structural and functional response of the soil bacterial and fungal community to more than 10 years of straw return in wheat-corn rotation system. Compared with single-season straw return, soil microbial phosphor lipid fatty acids (PLFAs) and catabolic activity were improved more greatly with double-season straw return. The relative abundance of bacteria and fungi decreased with double-season straw return, but increased with single-season straw return. The copiotrophic bacteria were more represented in the soils with corn straw return, while oligotrophic groups were more represented in soils with wheat straw return. Compared with wheat straw return, lower fungal community diversity and higher abundance of fungal pathogen (identified to be Leptosphaeria) were observed with corn straw return, especially at high return rates. Redundancy analysis showed that soil available potassium (P = 0.008) and ratio of C to N (P = 0.048) significantly affected the soil bacterial community, while soil electric conductivity (P = 0.04) was the significant factor impacting soil fungal community. It suggests that full corn straw return might have positive impact on soil mineral nutrient but negative impact on soil fungal community diversity and pathogenic risk, mainly due to the change in soil electric conductivity.