A machine that claims to deliver an orgasm at the push of a button has been patented in the U.S., but in order to tap into such convenient pleasure, there is some pain, UK MailOnline reported.

Designed as a medical implant, the machine includes an implant that is a little smaller than a packet of cigarettes. Through an operation, it uses electrodes to trigger an orgasm.

Women who have orgasmic dysfunction will be able to use this machine, the creator said.

Jim Pfaus, who studies the neurobiology of sexual behavior at Concordia University in Montreal told New Scientist, "Some women confuse what's called sympathetic arousal, like increased heart rate, clammy hands, nerves and so on, with fear. That makes them want to get out of the situation."

While Psychotherapy is a common treatment, the implant could "solve" the condition using a more manual approach.

According to UK MailOnline, "A patient would remain conscious during an operation to fit the implant, where a surgeon will pinpoint the correct nerves to which to fit the electrodes in a patient's spinal cord. They would connect to a signal generator - just smaller than a packet of cigarettes - that could be implanted under the skin of a patient's buttocks."

"The idea is that the implant could be triggered by a hand-held remote control, delivering orgasms at the push of a button - and it could even be programmed to deliver a number of orgasms per week or per day."

With clinical trials set to begin this year, details have yet to be decided.

Stuart Meloy, a surgeon at Piedmont Anesthesia and Pain Consultants in Winston-Salem, North Carolina is behind the technology and came up with the idea by accident, UK MailOnline reported.

"I was placing the electrodes and suddenly the woman started exclaiming emphatically," he said. 

"I asked her what was up and she said, 'You're going to have to teach my husband to do that.'"

Even though Meloy has not yet tested the device on men, he said there is no reason to think that it could not be used to achieve the same result.

Since the procedure is as invasive as a pacemaker, Meloy said that the treatment is intended to be used in the most serious cases of orgasmic dysfunction.

A Minneapolis-based company called Medtronic is also set to conduct the medical trials.

However, Pfaus said that as teenagers currently endure painful operations to enlarge their breasts, they are likely to endure invasive surgery to reach orgasm more easily, UK MailOnline reported.