Researchers from AstraZeneca, a pharmaceutical company in Sweden, grew human heart cells in the matrix of a whole rat heart to make the mini organ.
They delivered solutions that strip away cells from the rat heart while preserving the lining matrix of the whole heart to repopulate with human cells, researchers said.
The remaining 'scaffold' is the framework of the heart - consisting of collagen and other proteins.
The vessels were intact, the valves working and the four chamber structure of the heart was maintained, and the organ was then repopulated with human cells.
The miniature hearts will make it easier to test potential new drugs for safety and efficacy, researchers said.
The findings were presented at the American Heart Association's Basic Cardiovascular Sciences 2017 Scientific Sessions.