The 4% rule is a guideline for investing in stocks. It states that an investor should never invest more than 4% of their portfolio in any one stock.