While he is very short, and many people initially assume he's a woman, J.K. Rowling has confirmed multiple times that he is a man.