Antibiotic resistance genes (ARGs) and antibiotic-resistant bacteria (ARB) in fertilizers pose risks to human health and their variation in soil after fertilization has been reported. However, some important questions, such as the origin of ARG and ARB observed in soil following fertilization, which are present in soil regardless of fertilizer type (i.e., core (shared) ARGs and ARB), and the contribution of various ARG subtypes to the soil antibiotic resistome, need to be addressed. In this study, the effects of a long-term (9-year) application of organic (manure) and inorganic (chemistry) fertilizers on ARGs in greenhouse soils growing vegetables were investigated using metagenomic sequencing. The results showed that both organic and inorganic fertilizers application increased the diversity and abundance of soil ARGs. The dominant ARG types in organic fertilizer (OF) were different from that in organic fertilizer treated soil (SO), inorganic fertilizer treated soil (SI) and no fertilizer control plots (SC). The difference of core ARGs abundance reflected the variation of ARG profiles among SC, SI and SO. The OF is likely a source of the elevated ARG subtypes in soil and almost all the soil core ARG subtypes can be detected in organic fertilizer. Fifteen ARG types were enriched in the soil with OF, and some ARG subtypes such as sul1, sul2, tetX and tetL might derived from OF while others including as vanR, tcmA, rosB, and mexF might be from indigenous microbes in soil. The nutrition factors were found to influence the ARG profiles in fertilized soil. In summary, this study revealed the possible reason for the soil total ARG numbers and their relative abundance increase after fertilization, which will facilitate the control of ARGs and ARB dissemination.