IgG deficiency may be primary or secondary. Researchers don't know what causes primary IgG deficiency, but genetics may play a role.
Secondary IgG deficiency may be caused by aging, malnutrition, medicines such as chemotherapy, and infections such as HIV.