Stock repurchase, also known as share buyback, occurs when a company buys back its own shares from the marketplace, reducing the number of outstanding shares. This can enhance shareholder value by increasing earnings per share and can be a signal to the market that the company believes its stock is undervalued. Additionally, companies may use repurchased shares for employee compensation plans or to prevent hostile takeovers.