Key Points. Secondary (acquired) immunodeficiencies are much more common than primary (hereditary) immunodeficiencies. Primary immunodeficiencies can affect humoral immunity (most commonly), cellular immunity, both humoral and cellular immunity, phagocytic cells, or the complement system.