The Supreme Court rejected Trump's emergency request to set aside around 20,000 California ballots linked to suspected non-citizens.
Two lower courts had also rejected the Justice Department's demand to segregate the disputed mail-in ballots.
The ruling left the wider legal questions over federal voter-identification efforts unresolved.