I am studying in the USA right now, and I have a student visa. I am a Brazilian citizen. My problem is that my passport expires (not my visa) 4 days before I go back to Brazil for the summer. Can I would be able to go back to my country even if my passport is expired?
According to TIMATIC:
- Nationals of Brazil are allowed to enter with an expired passport.
So you should be okay as long as you have a direct flight.
If you're nonetheless worried about potential problems, though, you can renew your passport now. There's no requirement to wait until it has expired.
EDIT: DCTLib pointed out that you might have trouble getting past the TSA security checkpoint. They require "valid" ID, though there are provisions for letting people fly when they've forgotten or lost their identification. You may be able to benefit from these provisions when you have a recently expired ID, but it might be more difficult for you if you don't live in the US. To be perfectly safe on this point, renew your passport now.