If you’re on a revised payment method (like REPAYE) and make all the payments as you’re supposed to, then yes—any outstanding balance on your loan will be forgiven after twenty years.  Realize, though, that you can’t just ignore your loan for twenty years and have it go away. That won’t happen, and that’s not how the system works.