For my "main" characters, I've only ever roleplayed as males, though the reason I play only males is really just for the sense of aesthetic since all my MMO characters are male. I'm far too lazy to have alts, especially just for the sake of roleplaying.
That said, I am somewhat wary of writing female characters, mostly because I'm not particularly good at narratively expressing traditional femininity; most of my female characters invariably end up as masculine characters that happen to have tits. In other words, if I don't have a specific reason to make a character female (e.g. approaching feminist themes through the lens of a character necessitates that said character be female, otherwise it runs the risk of being decidedly condescending), then I just make them male for the reason of aesthetic.
That said, I am somewhat wary of writing female characters, mostly because I'm not particularly good at narratively expressing traditional femininity; most of my female characters invariably end up as masculine characters that happen to have tits. In other words, if I don't have a specific reason to make a character female (e.g. approaching feminist themes through the lens of a character necessitates that said character be female, otherwise it runs the risk of being decidedly condescending), then I just make them male for the reason of aesthetic.