A baby’s sex is determined at conception by which sex chromosome the sperm carries—an X-bearing sperm produces a female (XX) and a Y-bearing sperm produces a male (XY)—and while genetics shapes the biology of sex determination, a parent’s genes do not reliably steer whether a particular pregnancy will be male or female. There is no established genetic mechanism by which prospective parents can influence the sex of their child through inheritance, diet, timing, or behavior. Some rare genetic variants affect the ratio of X- to Y-bearing sperm or cause sex-chromosome anomalies, and some families show a statistical skew, but these are exceptions, not a controllable lever.
The question contains an ambiguity worth separating early. “Influenced by genetics” can mean (a) whether the child’s sex is a genetically determined trait at all, (b) whether parents’ genotypes bias the odds toward one sex, or (c) whether parents can deliberately use genetic information or technology to choose a sex. The answer differs across those readings, so it helps to treat them distinctly.
The basic mechanism: sex is set by the sperm’s chromosome
Human cells typically carry 46 chromosomes in 23 pairs. The 23rd pair—the sex chromosomes—is XX in most females and XY in most males. An egg from the mother always carries an X. A sperm carries either an X or a Y. If an X-bearing sperm fertilizes the egg, the zygote is XX; if a Y-bearing sperm does, it is XY. The father’s sperm therefore determines the chromosomal sex of the conception, in the ordinary case.
This is why the common claim that “the father determines the sex” is mechanically true at the level of the fertilizing sperm but misleading as a statement about control. The father does not choose which sperm reaches the egg. The split between X- and Y-bearing sperm in a given ejaculate is roughly 50/50 in healthy men, and the outcome of any single conception is close to a coin flip. Population birth ratios hover near 105 boys to 100 girls in many human populations—a slight male excess whose causes are debated and which is not a knob parents can turn.
What genetics does and does not control
Genetics clearly governs the machinery of sex determination. The SRY gene, normally on the Y chromosome, triggers testis development; without it, the default pathway leads toward ovarian development. Variants in genes involved in gonadal development, hormone synthesis, and hormone reception can produce differences in sex development (DSD), in which chromosomal, gonadal, or anatomical sex do not align in the usual way. These are genetic influences on how sex develops—not on which sex a typical pregnancy will be.
The distinction matters: a gene can be essential to a process without giving parents a predictable way to bias the outcome. SRY is indispensable for typical male development, but its presence in a sperm is not something a father’s genotype lets him dial up or down per conception.
Do parents’ genes bias the odds toward boys or girls?
This is where a real but limited body of evidence exists, and where careful language is required. Some studies have reported family-level skews—certain families producing more sons or more daughters than chance would predict—and a few have pointed to variants in genes such as those affecting sperm function. A frequently discussed example involves a gene sometimes called NR2C2-related or, in some reports, a variant near the DC2/NR2C2 region, linked in some studies to a tendency toward more daughters. Other work has examined whether a mother’s or father’s genotype shifts the sex ratio.
The honest summary is that these findings are statistical, often modest, sometimes not replicated, and not predictive for an individual couple. A family “having lots of boys” is weak evidence of a genetic bias; small samples produce streaks easily. If a couple has three sons, that pattern is common by chance alone and does not establish a heritable tendency. Distinguish a population-level correlation from a per-pregnancy probability you can act on.
There is also a known phenomenon in some families with multiple affected members and specific genetic conditions, but these are exceptions tied to particular variants, not a general rule. The takeaway: genetics may nudge population ratios in rare, specific contexts, but it does not give ordinary parents a reliable forecast, let alone control.
Why timing, diet, and “gender sway” methods don’t deliver
Popular methods claim to influence sex—timing intercourse relative to ovulation, altering vaginal pH, special diets, or supplements. The Shettles method, for instance, proposed that Y-bearing sperm are faster but less durable and that timing intercourse near ovulation favors boys. Reviews of the evidence have generally found these methods do not reliably shift the sex ratio, and some proposed interventions carry risks (for example, extreme diets). The mechanisms invoked are not well supported, and the outcome of any single attempt remains close to chance.
This is a case where a plausible-sounding biological story outruns the evidence. Sperm differ in some measurable ways, but the differences have not translated into dependable at-home sex selection.
What about medical technology?
Preimplantation genetic testing (PGT) during IVF can identify the chromosomal sex of embryos, and some clinics offer sex selection for medical reasons—typically to avoid X-linked disorders. Non-medical sex selection is legally restricted or professionally discouraged in many countries, and policies vary widely. Sperm sorting (flow cytometry) can enrich X- or Y-bearing sperm but is not perfectly accurate and is used mainly in animal breeding and some clinical contexts. These are clinical and ethical questions, not genetic inheritance in the everyday sense, and they require a qualified provider and adherence to local law.
Common confusions to keep straight
“The father’s genes decide the sex.” The sperm’s chromosome decides it, but the father does not control which sperm fertilizes the egg, and his genotype does not reliably set the odds. “A family with many girls has a ‘girl gene.’” Streaks are common by chance; a genuine heritable bias would need robust, replicated evidence and would still be probabilistic. “Sex is purely genetic.” Chromosomal sex is genetically initiated, but DSDs show that development involves many genes and hormones; the simple XX/XY story is the typical case, not the whole of biology. “Genetics means choice.” Knowing that genes influence a trait is not the same as being able to select the outcome.
Bottom line
Genetics is central to how sex is determined and, in rare cases, may subtly shift sex ratios in specific families. But for ordinary prospective parents, a baby’s sex is not meaningfully influenceable through inheritance, and no established genetic method lets parents choose or reliably predict it. Claims otherwise should be treated with skepticism.