In 2007, J.K. Rowling that Dumbledore was gay when she said:

“I always thought of Dumbledore as gay. Dumbledore fell in love with Grindelwald, and that added to his horror when Grindelwald showed himself to be what he was.”

, but this side of his personality was never the subject of discussion in the books or the movies, and his sexuality was never made clear.