Relatively speaking, it wasn’t that long ago in humanity’s history when finding food was a matter of survival. It wasn’t as simple as walking into the nearest grocery store and buying whatever was on sale. Individuals, governments, and societies dedicated a good chunk of their time and energy into securing a stable food source. Those who didn’t were usually the first victims of the next famine.

These days, getting a meal is less about survival and more about logistics. Thanks to major advances in agricultural science, including those of the late Norman Borlaug, we have so much abundant food that overeating is now a bigger problem than famine. Hunger is still a major issue for certain parts of the world, but it’s more a logistical issue than a resource issue.

Once food was divorced from famine and survival, it changed the way society approached it. Most people don’t even think about where they’re going to get their next meal. Their main concern is whether it’ll be a tasty meal.

With this critical need met, we can focus more time and energy on other matters. Even before science gave us abundant food, sex and reproduction was usually our second most pressing focus. It’s the other powerful drive that unites us all as a species. As a result, it’s subject to all sorts of taboos and has been central to multiple revolutions.

There’s no question that technology has impacted sexuality every bit as much as it impacted food production. Even advances unrelated to sex, especially anti-biotics, affected various attitudes and norms. However, even with these advances, sex maintains much of its primary function in that it’s still necessary for reproduction.

With that in mind, what happens when that’s no longer the case?

What happens to sex when it’s completely divorced from reproduction?

This isn’t another speculative thought experiment. This process is already unfolding. I would argue that it started on July 25, 1978 when the first baby was born from in vitro fertilization. Since then, over 8 million babies have been born through this technology. That is not a trivial number when we’re dealing with human lives.

Just take a step back to appreciate the implications of these lives. They were all conceived and birthed without sex. In centuries past, this was grounds for a miracle that could serve as a basis for a major religion. These days, it’s so routine that it never makes the news. Most people don’t think about it. It helps that these people are just as healthy and prosperous as those who were conceived with sex.

In the near future, this could change as well. Late last year, our technology went a step further beyond conceiving babies through in vitro fertilization with the birth of the first genetically edited babies in China. Now, it’s not just normal babies being born through this technology. Thanks to tools like CRISPR, children born without sex could be healthier and stronger than those conceived through sex.

Again, that is not a trivial detail. It’s one thing for technology to simply match a natural process, especially one as critical as human reproduction. Once it starts doing it better than nature, then that’s a huge paradigm shift. It might even be a point of no return. Having babies through sex is still a thing, but it’s no longer the most effective way to have healthy, strong children.

While this has generated plenty of controversy around topics like designer babies, there hasn’t been as much discussion about what this means for sex. If sex is no longer the primary method for reproduction, or the safest for that matter, what happens to our society? What happens to centuries of taboos, attitudes, traditions, and gender roles?

It’s difficult to speculate, but some have tried. In a recent article with the BBC, author Henry T. Greely laid out a general timeline. It doesn’t rely entirely on huge leaps in reproductive technology. It simply follows the trends that began with in vitro fertilization. In the interview, these are just a few thoughts he shared.

In 20 to 40 years, most people all over the world with good health coverage will choose to conceive in a lab. Like most things, there will be a fair amount of visceral negative reaction initially, but as time goes on and kids prove not to have two heads and a tail, the public will come not only to tolerate but to prefer reproducing non-sexually.

From a logistic and public health standpoint, this makes sense. Any healthy and prosperous society would want to promote the birth of healthy children in a manner that preserves the health of the mother. With technology like in vitro and CRISPR, it might very well be preferable because it means fewer diseases, lower health care costs, and fewer burdens on parents.

That doesn’t even begin to factor in the impact of more advanced reproductive technologies. With advances like artificial wombs in development, sex wouldn’t just be divorced from reproduction. Reproduction might not require any intimate connection whatsoever. At that point, sex for reproduction is akin to drinking unpasteurized milk.

Will people still have sex at that point? I believe they will. Unless we radically change our bodies all at once, the hardware for sex will still be present. The drive to do it will still be there as well, although some might opt to turn it off if that were an option. Regardless of any lingering attitudes and taboos, there’s no getting around it. Sex still feels good. It’s still a profoundly intimate act with many health benefits.

How people go about it will likely change. A great many taboos about sex stem from its role in reproduction. Much of the stigma surrounding promiscuity and traditional gender roles have a basis in highlighting the importance of sex in the propagation of our society and species. If are reckless about it, then that can spread disease, destabilize families, and create unhealthy environments for children.

Going back to the parallels with food, the same logic was once used to discourage gluttony. For much of human history, we had to be careful with how we consumed our food. If people consumed too much and were reckless with our eating habits, then they were ill-prepared for the next famine that inevitably came.

While sex and reproduction are still very different from consuming food, the influence of technology had a major impact on collective attitudes. We don’t look at people who overeat the same way we look at people who have lots of sex. Both may still draw scorn, but few will worry for the survival of the future of their community if a handful of people overeat.

At the moment, there are very real concerns surrounding falling birth rates and people having less sex than ever before. In some countries, the low birth rates are seen as an outright crisis that has also fueled ongoing debates surrounding immigration. Crisis or not, this situation is adding more urgency to the development of reproductive technologies. That, along with the decline in sex, could hasten this pending divorce.

Once it’s finalized, what form will sex take? It could simply become an act of intimacy or recreation. Humans might ultimately treat it the same way Bonobo monkeys treat it. It’s just an intimate activity that people do. Reproduction never even enters the conversation. People save that for when they want to design their baby.

It could also gain another purpose entirely. Maybe sex becomes less an act of intimacy and more an elaborate handshake, of sorts. It could be seen as a way of establishing trust or differentiating between casual acquaintances and close friends. In that world, friends with benefits are just friends. The benefits are implied by the friendship.

There’s also the very real possibility that people will just lose interest in sex. If there’s no reason to do it and it has no bearing on the growth of a society, then it just might be an afterthought. People might still do it, but those who do would be like the people who still have their own gardens in the backyard. It’s a quaint echo of our past that most have moved past.

These are possibilities. For now, there are no inevitabilities with respect to how we’ll approach sex once it’s no longer necessary for reproduction. It’ll likely be several decades before reproductive technology gets to a point where it’s preferable to sex, both for individuals and societies at large. Until then, this lengthy divorce is already at the early stages. It’s just a matter of how messy it’ll get in the coming years.