Earnshaw was injured warming up before Friday's win over West Brom and was not able to be named as a substitute.
The Wales international will miss Tuesday's FA Cup replay at Birmingham and Saturday's match with Reading.
Reds boss Billy Davies told BBC Radio Nottingham: "It's a disappointment of course, but the good news is it's not too long and not too severe."
Source: BBC Sport
Source: BBC Sport