The government will only take the amount to cover your debt.
To confirm if IRS will keep your refund for student
loans, call (800) 304-3107, for the US Treasury's
Bureau of Fiscal Services.
For more information about this service, please
follow this link:
https://fiscal.treasury.gov/fsservices/gov/debtColl/dms/top/debt_top.htm