8. If $p$ is a prime number, and $p+3$ divides $5p$, then the last digit of $p^{2009}$ is $\qquad$ .
8. 2 .

Since the positive divisors of $5p$ are $1, 5, p, 5p$, and $(p+3)$ divides $5p$, therefore, $p=2$.
Thus, $p^{2009}=2^{2009}=\left(2^{4}\right)^{502} \times 2=2 \times 16^{502}$.
Given that the last digit of $16^{502}$ is 6, it follows that the last digit of $p^{2009}$ is 2.