The legality of pets in apartments can vary widely depending on the specific rules and regulations set by the apartment complex or landlord. Common pets that are often restricted or prohibited in apartments include exotic animals, such as snakes, ferrets, hedgehogs, and certain breeds of dogs like pit bulls or Rottweilers. It's always best to check with your apartment complex or landlord to understand their specific pet policies.