Nobody knows. Firstly, it is not known how much specific shares or real estate will cost in 5, 10 or 30 years. Secondly, stocks and real estate are very different, so a generalized comparison is impossible. Here you should rather rely on what is closer to you in terms of lifestyle. If you are ready to deal with the hassle associated with the acquisition and maintenance of real estate and you are not embarrassed by an impressive amount of mortgage debt, then real estate suits you. You can start investing in stocks as early as 20€ and it's quite simple and doesn't take much time.