"Why are we having all these people from shithole countries come here?" Mr Trump reportedly asked lawmakers during talks on an immigration deal.
He was apparently referring to Haiti, El Salvador and African countries.
The White House made no attempt to deny the comment.
In recent weeks, the Trump administration has been trying to limit the number of family members of immigrants who can enter the US, and has moved to end the protected status of thousands of immigrants already in the US.
What did the president say?
Mr Trump's reported remark came as lawmakers from both parties visited him on Thursday to propose a bipartisan immigration deal.
Shock over Trump migrants remarks
Migrant success stories from maligned countries...
CNN