You should keep your passport valid at all times. Your passport is your own government’s permit for you to leave and re-enter your own country. Most passports contain an expiration date. Consult your own consulate or embassy in the U.S. to renew your passport.
F-1 Visa Renewal
The U.S. Department of State has a good description of the Visa Renewal process.