Link prediction in social networks is a challenging task that attempts to uncover hidden linkages and forecast future connections. The link prediction problem is addressed in this research article by utilizing the capabilities of Node2Vec and machine learning algorithms. To learn high-dimensional node representations that capture both local and global network structures, the Node2Vec technique is used. Then, in order to forecast potential connections, these node embedding’s are put into various machine learning models. Two real-world social network datasets are used to test the suggested methodology, and the findings show a considerable improvement in link prediction accuracy. It achieves a deeper comprehension of the hidden relationships in social networks by fusing the semantic richness of Node2Vec embedding’s with the predictive powers of machine learning methods. The results of this study extend link prediction approaches in social networks by revealing hidden ties and providing insightful predictions for upcoming connections. The suggested method indicates the potential for real-world applications in a number of fields, including recommender systems, targeted advertising, and social influence studies.