Normally, a heart cannot be revived if it remains static for over six hours, according to doctors.
A 24-year-old patient surnamed Guan in Fuzhou, capital of eastern China's Fujian Province, needed a heart transplant due to a worsening blood clot around his heart.
He found a matching donor about a three-hour drive away in the north of the province.
The donor had been pronounced brain-dead from a brain tumor but was still being sustained via a respirator.
More From This Section
"The donor's heart had stopped beating for 10 minutes when we arrived around 9 pm," Huang Xueshan, the doctor who performed the transplant, was quoted as saying by state-run Xinhua news agency.
"But we managed to extract the heart in two minutes," Huang added.
They immediately returned to Fuzhou and began performing the transplant around midnight.
The operation finished around 2 am, but the heart did not beat at first.
Then around 4 am, seven hours after it was taken out of the donor, the heart resumed beating in Guan's body.
Though the heart had stopped beating, cold temperatures reduced the heart's metabolism to a minimum, preserving its energy, Huang said.
The transplant cost 150,000 to 200,000 yuan (between USD 23,100 to 30,800) and Guan will need to take anti-rejection medication, which costs 2000-3000 yuan per month, according to Huang.
China has around 3 million patients waiting for heart transplants, but only 250 at most are able to undergo the operation each year due to a scarcity of donors.