Gingivitis can affect people of all ages, but it is most common in adults. However, children and teenagers can also develop gingivitis, especially if they have poor oral hygiene habits or are going through hormonal changes.