Short answer
Varuna is male. Hindu texts describe him as a male god in the Vedas, the epics, and the Puranas. His name is grammatically masculine in Sanskrit, and he is usually shown with a consort.
Why the question comes up
His name ends in -a, a sound many English speakers associate with female names. Many masculine Sanskrit names end the same way, and Varuna is one of them. His wife and daughter also have names that sound close to his, which adds to the confusion.
His consort: Varunani
Varuna’s wife is usually called Varunani. Texts disagree about his wives. The Mahabharata most often calls his chief queen Varuni, and other texts name different wives. The names are close enough that readers often mix them up.
His daughter: the wine goddess
Varuna’s daughter, called Varuni or Sura, is the goddess of wine. Texts tell her story differently. The Bhagavata Purana says asuras seized her during the churning of the ocean. The Ramayana says she chose the devas instead.
Does his gender change in any tradition?
The main texts never change his gender, and none of the traditions described here do. In the Vedas he is a male god who upholds cosmic order, and later texts keep him male. Artistic depictions show him as a male figure, often with a noose and a makara.