Malaysia Bagus News
Two pages of the tax return were revealed by US TV network MSNBC but they gave no details on income sources or of charitable giving.
The White House said publishing the tax return was against the law.
Mr Trump refused to release his tax returns during the election campaign, breaking with a long-held tradition.
He has said he is under audit by tax authorities and that his lawyers advise against releasing tax returns. His critics, however, say they suspect Mr Trump has something to hide.
Correspondents say that, despite the lack of detail, the leak is still significant because so little is known about President Trump's tax affairs and the new information could increase pressure on him to release more.
The two pages show that Mr Trump paid $5.3m in federal income tax and an extra $31m in what is called alternative minimum tax (AMT).
AMT was set up nearly 50 years ago to stop the wealthiest people from using deductions and loopholes to avoid paying taxes. Mr Trump has called for it to be abolished.
The $38m bill was an effective tax rate of about 24%, higher than the average American citizen would pay but below the 27.4% averaged by higher-earning taxpayers.
Although leaking federal tax returns is a criminal offence, MSNBC host Rachel Maddow argued that it was exercising its First Amendment right to publish information in the public interest.
Journalist David Cay Johnston, interviewed on MSNBC, said he had received the documents in the post from an anonymous source.
During last year's election campaign, Democratic candidate Hillary Clinton accused Mr Trump in a head-to-head debate of paying no federal income tax.
He responded: "That makes me smart."
Last October, the New York Times revealed parts of Mr Trump's 1995 tax returnsthat showed losses of $916m (£753m).
Analysts said that would have allowed him to avoid paying income tax for up to 18 years afterwards.