Terraria item ID 2756. Terraria 1.4.5.7.
The Gender Change Potion is a pre-Hardmode potion that allows the player to swap their character style between male and female. Hurt sounds and equipment sprites change accordingly. The effect lasts until another Gender Change Potion is used.
Crafted at Placed Bottle / Alchemy Table. Ingredients:
Description from the Terraria Wiki.