Whether your boyfriend can reveal the unborn child’s sex depends entirely on what you mean by “can”: in most places he is legally free to share the information, but whether he should, and whether he can obtain it in the first place, depends on your relationship agreement, who controls the medical information, and the local rules on disclosure. The question is ambiguous, so it helps to separate three different senses of “can” — legal permission, practical access to the information, and your personal consent.
Separating the Three Questions Hidden in One
The word “can” collapses several distinct issues. A useful way to untangle them is to ask:
1: Is it lawful for him to tell others? In most jurisdictions, disclosing the sex of a fetus is not itself a crime or tort when the information is already known to him and he is not bound by a confidentiality duty. 2: Can he obtain the information in the first place? This is where clinics, ultrasound appointments, and medical-privacy rules matter. In many places a health provider will share fetal information only with the patient (often the pregnant person) or with someone the patient authorizes. 3: Does he have your consent to share it? This is the relationship question, not a legal one. Even where disclosure is lawful, sharing private medical information without the pregnant person’s agreement can be a serious breach of trust.
The reference date is November 13, 2026, and no jurisdiction is specified. Because rules on medical confidentiality, fetal-sex disclosure, and partner access to prenatal records vary by country and even by state or province, I cannot give a definitive legal answer for your location. What I can do is explain the principles that typically govern each sense of the question and flag what you would need to check locally.
Legal Permission: Usually Broader Than People Expect
In many legal systems, the sex of an unborn child is not treated as a special category of secret information protected by a general criminal prohibition on disclosure by a private individual. If your boyfriend learns the sex — for example, because you told him, because he attended an ultrasound, or because you shared a report — then in most places nothing in the criminal law stops him from telling his family or friends.
That broad statement has important exceptions and qualifications.
Medical confidentiality does not usually bind him. Confidentiality duties generally attach to health-care providers, not to a patient’s partner. A doctor or sonographer who discloses fetal information to someone unauthorized may breach professional obligations or privacy law; a boyfriend who repeats what he was told usually does not, unless he is himself a regulated professional or is bound by a specific agreement.
Some jurisdictions restrict fetal-sex disclosure for other reasons. Several countries, notably in parts of Asia, have laws restricting the disclosure of fetal sex because of concerns about sex-selective abortion. These laws typically target medical practitioners and diagnostic facilities rather than partners, but the details vary widely, and the existence of such a law in your country would be worth checking. I cannot confirm whether any particular jurisdiction applies to you, because none was named.
Privacy and family law can matter in specific contexts. If the information is part of a court proceeding, a child-protection matter, or a formal confidentiality agreement, different rules may apply. These are narrow situations, not the ordinary case.
The practical upshot: in the ordinary case, the law is unlikely to be the thing that stops your boyfriend from revealing the sex. The binding constraints are more often medical-access rules and your own wishes.
Practical Access: Who Actually Gets Told by the Clinic
The second sense of “can” is often the one that actually decides the matter. Even if your boyfriend would be legally free to share the information, he may never receive it from a health provider unless you authorize it.
In many countries, prenatal information — including ultrasound findings and test results — is disclosed to the patient, who is usually the pregnant person. Clinics commonly require the patient’s consent before releasing information to a partner, family member, or anyone else. Some clinics routinely invite partners into ultrasound appointments and will show or tell them the sex in the patient’s presence; others will not disclose to anyone but the patient without explicit authorization.
This creates a common confusion. A boyfriend who attends an appointment and hears the sonographer say “it looks like a girl” has the information in a way that feels official. But that does not mean the clinic would confirm it to him independently, and it does not settle whether he may repeat it. The clinic’s disclosure to him, if it happened with your knowledge in the room, is one thing; a separate request by him for your records is another.
If you want to control who learns the sex, the practical lever is usually the clinic’s authorization process: tell the provider who may receive information, and ask what their policy is for partners. If you want him to know but not to spread it, the lever is your conversation with him, not the medical system.
Consent and Trust: The Relationship Question
The third sense is the one your question most likely turns on. Even where the law permits disclosure and the clinic has already told him, revealing the sex to others without your agreement can be a significant breach of trust. This is not a legal abstraction; it is about the expectations you have set with each other.
Consider two contrasting examples.
Example A: You and your boyfriend agreed to keep the sex private until a family gathering, and you told him explicitly. He tells his mother anyway. Nothing illegal has happened in most places, but he has broken a clear agreement, and that is a relationship problem regardless of legality. Example B: You never discussed it, he attended the ultrasound, and he mentions the sex casually to a friend. Here the “breach” is more ambiguous. Without an agreement, people reasonably differ on whether fetal sex is sensitive information at all. Some couples treat it as ordinary news; others treat it as private until birth.
The distinction matters because consent is not only about whether he may tell but about whether you expected him not to. A clear, specific agreement — “please don’t tell anyone until I say so” — is far stronger than a general hope that he will be discreet. If you have not discussed it, the honest answer is that the expectation is unstated, and unstated expectations are where these conflicts usually originate.
There is also a cultural dimension. In some families and communities, the sex of an unborn child is treated as eagerly shared news; in others, it is deliberately withheld, sometimes because of preferences about boys or girls, sometimes for privacy, sometimes for superstition or tradition. These norms are not universal, and neither your boyfriend’s assumptions nor yours are automatically the “correct” ones. What matters is that you both know where the other stands.
What If You Want to Keep It Private?
If your goal is to prevent him from revealing the sex, there are practical steps that work better than relying on the law.
Decide what you want and say it plainly. “I don’t want anyone to know the sex until the baby is born” is clearer than hints. Ask him directly whether he agrees, and treat his answer as information about how he handles shared private matters.
Control the clinic’s disclosure. Ask the provider who is authorized to receive information. If you do not want him to be told separately, say so. Many clinics will accommodate this, though policies differ.
Consider timing. Some couples learn the sex privately and announce it later, or keep it entirely private. If you learn it together and agree to a plan, the plan is more likely to hold than if one of you learns it first and the other feels excluded.
Accept the limits. If he already knows the sex and you have no agreement, you cannot legally force secrecy in most places. What you can do is make your wishes clear going forward and treat any violation as a serious conversation about trust.
What If You Want Him to Be Able to Share?
The question also has a permissive reading: perhaps you are asking whether it is acceptable for him to reveal the sex, not whether he can be stopped. In that case, the answer is usually yes, provided you are both comfortable with it. Many couples treat the sex as shareable family news. The only real caution is to make sure you are both on the same page about when and with whom, because the moment one of you tells a relative, the information tends to spread.
Common Misunderstandings
“Medical privacy means he can’t tell anyone.” Not usually. Medical privacy rules generally bind providers, not partners. They may affect what the clinic tells him, but they rarely prohibit him from repeating what he already knows.
“If he was in the room, he has a right to share.” Being present at an appointment may give him the information, but it does not automatically settle the question of whether you agreed to wider disclosure. The two issues are separate.
“The law will protect my privacy.” In most places, no specific law prevents a partner from disclosing fetal sex. The protection, where it exists, comes from your agreement with him and from the clinic’s authorization rules.
“It’s the same everywhere.” It is not. Fetal-sex disclosure rules, medical-privacy regimes, and partner-access policies differ by country and sometimes by region. Without knowing your location, only general principles can be stated.
What to Check Locally
Because no jurisdiction was given, three things are worth confirming where you live:
1: Whether any law restricts fetal-sex disclosure and to whom it applies — providers only, or others as well. 2: What your clinic’s policy is on sharing prenatal information with partners, and what authorization you need to give or withhold. 3: Whether any formal agreement — a parenting plan, a confidentiality arrangement, or a court order — covers the information.
These checks are practical, not legal advice. If a genuine legal dispute arises — for example, over medical records or a formal agreement — a local family-law or health-privacy professional is the right source, because the details are jurisdiction-specific and I cannot verify them here.
The Short Answer
In the ordinary case, your boyfriend is probably legally free to reveal the sex if he knows it, but whether he can obtain it from a clinic depends on your authorization and the provider’s policy, and whether he should reveal it depends on what you two have agreed. The law is rarely the real constraint; consent and communication usually are. Because your location is unspecified, confirm the local rules on fetal-sex disclosure and your clinic’s partner policy before relying on any general statement, including this one.