Lily Evans Potter was 21 years old when she gave birth to her son, Harry Potter.
Lily and James Potter married in the spring of 1976, and Harry was born on July 31, 1980. This means Lily was likely around 20 years old when she got pregnant.
It's important to note that this information comes from the Harry Potter books and movies, and is not based on real-world demographics.