
Leopard geckos can be sexed after they have grown 5-6 inches long. The most reliable method of leopard gecko sexing is inspecting the areas before and after the vent.
Males and females should not be housed together unless you intend to breed them. Even then, the arrangement should be temporary only.

Source: ReptileCare.com