This paper explores the relationship between received inheritances and the distribution of wealth (financial, non-financial and total) in four developed countries: the United States, Canada, Italy and Spain. We follow the inequality of opportunity (IOp) literature and − considering inheritances as the only circumstance− we show that traditional IOp approaches can lead to non-robust and arbitrary measures of IOp depending on discretionary cut-off choices of a continuous circumstance such as inheritances. To overcome this limitation, we apply Machine Learning methods (‘random forest’ algorithm) to optimize the choice of cut-offs and we find that IOp explains over 60% of wealth inequality in the US and Spain (using the Gini coefficient), and more than 40% in Italy and Canada. Including parental education as an additional circumstance −available for the US and Italy− we find that inheritances are still the main contributor. Finally, using the S-Gini index with different parameters to weight different parts of the distribution, we find that the effect of inheritances is more prominent at the middle of the wealth distribution, while parental education is more important for the asset-poor.