The total Bitcoins that can be mined altogether are 21 million. Once 21 million Bitcoins have been mined, the supply for Bitcoin will have been exhausted. The limited number of Bitcoins makes cryptocurrency scarce. Afterwards, miners can earn through transaction fees from every transaction.