The last bitcoin is expected to be mined around 2140.

After that, miners won't earn new BTC, only transaction fees.

Here's how Bitcoin was designed for that transition 👇
https://www.binance.com/en/academy/articles/what-happens-after-all-bitcoins-are-mined