How to Have a Girl: Timing, Diet & Medical Options

No natural method guarantees you’ll conceive a girl, but several approaches may shift the odds modestly in your favor. The only near-certain option is medical sex selection through IVF, which is close to 100% accurate but expensive, invasive, and illegal for non-medical reasons in most countries outside the United States. For couples hoping to tip the balance without medical intervention, the most widely discussed strategies involve timing intercourse around ovulation, adjusting sexual positions, and modifying the mother’s diet in the weeks before conception.

Why Timing Might Matter

Every pregnancy’s sex is determined by the sperm. Eggs always carry an X chromosome. Sperm carry either an X (which produces a girl) or a Y (which produces a boy). The key biological detail behind most natural sex selection theories is that X-bearing and Y-bearing sperm behave differently under stress. Research published in Human Reproduction found that Y sperm are more vulnerable to environmental stress than X sperm, show higher levels of cell-death proteins, and that the ratio of surviving Y-to-X sperm drops significantly after three days in culture. X sperm, in other words, appear to be hardier and longer-lived.

This is the foundation of the Shettles Method, the most popular natural approach. Developed by Dr. Landrum Shettles in the 1960s, it recommends having intercourse two to three days before ovulation, then stopping. The idea is that by the time the egg is released, the shorter-lived Y sperm have already died off while the tougher X sperm are still waiting in the fallopian tubes. Shettles claimed a 75% success rate for couples trying for a girl, though independent verification of that number has been limited.

To use this approach, you need to know when you ovulate with reasonable precision. Ovulation predictor kits, basal body temperature tracking, or cervical mucus monitoring can help. The goal is to have sex frequently in the days after your period ends, then abstain starting about two to three days before you expect to ovulate.

The Shettles Method in Detail

Beyond timing, Shettles recommended several additional steps to favor a girl:

  • Shallow penetration. Face-to-face positions with shallow penetration deposit sperm farther from the cervix, forcing them to travel through more of the vagina’s naturally acidic environment. Since Y sperm are more sensitive to acidity, this theoretically gives X sperm a survival advantage.
  • Skip the female orgasm. Shettles suggested the woman avoid orgasm during intercourse, at least until after ejaculation. Female orgasm releases secretions that make the vaginal environment more alkaline, which could benefit the more fragile Y sperm.
  • Frequent intercourse before the cutoff. Having sex often in the days leading up to your fertile window (but stopping two to three days before ovulation) keeps sperm counts slightly lower, which Shettles believed favored X sperm.

These recommendations are based on real physiological observations, but the overall method has not been validated in large, rigorous clinical trials. Some fertility researchers have found no significant effect from timing alone. Still, the underlying biology of X sperm surviving longer under stress is supported by laboratory evidence, which is why the approach remains popular.

Diet and Mineral Intake

A separate line of research has looked at whether what a mother eats before conception influences the baby’s sex. The theory centers on four minerals: calcium, magnesium, sodium, and potassium. Multiple studies dating back to the 1970s found that mothers whose diets were high in calcium and magnesium but low in sodium and potassium were more likely to have girls. Across a combined pool of 553 women following sex-specific diets, 75% to 80% successfully delivered a baby of the desired sex.

A 2001 study tested this by combining a high-calcium, high-magnesium, low-sodium, low-potassium diet with intercourse timed well before ovulation. The dietary approach typically starts several weeks before attempting conception and involves increasing dairy products, leafy greens, nuts, and seeds while cutting back on processed foods, bananas, and salty snacks.

This evidence is more suggestive than definitive. The studies were relatively small and some relied on mothers recalling what they ate rather than controlling their diets in real time. But the consistency of the calcium-magnesium connection across multiple research groups makes it one of the more interesting natural approaches.

The Vaginal Acidity Factor

Several natural methods try to make the vaginal environment more acidic, since Y sperm are more sensitive to low pH. Shettles recommended an acidic douche (two tablespoons of white vinegar in one quart of water) before intercourse. The logic tracks with laboratory findings: sperm exposed to mildly acidic conditions are rapidly immobilized and killed, with effects increasing proportionally as pH drops from 7.5 toward 4.0.

The problem is that the vagina’s natural pH already sits between 3.8 and 4.5, and any douching solution gets diluted by cervical mucus during the fertile window (which becomes more alkaline to help sperm survive). There’s also a practical risk: douching can disrupt the vaginal microbiome and increase the chance of infections, which could work against your fertility goals entirely. Most reproductive health experts advise against douching for any reason.

Medical Sex Selection Through IVF

If you want a near-guarantee, the only reliable option is in vitro fertilization with preimplantation genetic testing. After eggs are fertilized in the lab, embryos are biopsied at a few days old and their chromosomes are analyzed. This identifies which embryos are XX (female) and which are XY (male) with close to 100% accuracy. You then choose which embryo to transfer.

This is a significant medical undertaking. IVF involves hormone injections, egg retrieval under sedation, and embryo transfer, with each cycle costing tens of thousands of dollars in the United States. It also carries the physical demands and emotional stress of any IVF process, including the possibility that a cycle doesn’t produce viable embryos of the desired sex.

An older technology called sperm sorting used a laser to separate X-bearing from Y-bearing sperm before insemination. When sorting for girls, it achieved about 88% purity, meaning 88% of the sorted sample carried X chromosomes. The sorted sperm could then be used for intrauterine insemination. This technology was developed under the brand name MicroSort but has had limited availability.

Where Sex Selection Is Legal

Elective sex selection for non-medical reasons is prohibited in most developed countries, including the United Kingdom, Canada, Australia, France, Germany, Belgium, the Netherlands, Spain, Switzerland, and Sweden. These bans typically apply to IVF-based selection and sperm sorting, not to natural timing or dietary methods (which aren’t regulated anywhere).

The United States is a notable exception. There is no federal law governing sex selection, and regulation varies by state. This makes the U.S. a destination for international patients seeking elective sex selection through IVF. In countries with bans, sex selection is still permitted when there’s a medical reason, such as avoiding sex-linked genetic diseases like hemophilia or Duchenne muscular dystrophy.

Putting It All Together

If you’re hoping for a girl and want to try natural methods, the strongest approach combines several strategies: time intercourse for two to three days before ovulation and then stop, use positions with shallow penetration, and shift your diet toward calcium-rich and magnesium-rich foods while cutting back on sodium and potassium for several weeks before trying to conceive. None of these carry significant health risks, and the underlying biology is at least plausible, even if the evidence isn’t airtight.

Keep expectations realistic. Natural methods may improve your odds from the baseline 50/50 split, but none come close to guaranteeing a specific sex. The 75% to 80% success rates reported in some studies are encouraging, but they come from small, older research that hasn’t been replicated at scale. For couples who feel strongly about having a girl and have the resources, IVF with genetic testing is the only method that approaches certainty.