The roundtable discussion started around noon at the White House.
Leaders from Orange, Riverside and San Diego counties as well as about a dozen other local leaders attended the meeting.
The mayor of Los Alamitos also attended. The city's move to officially oppose the law sparked other cities to do the same.
MORE: Los Alamitos sued over sanctuary law vote
The city and county leaders and the president say the sanctuary state law puts community safety at risk.
"For me, as a supervisor, public safety is No. 1 and we have from January until now, we have about 338 prisoners have been released on the street. We were supposed to hand them to ICE instead of that, they're walking on the street," Orange County Supervisor Michelle Steel said.
The law limits cooperation between police and immigration authorities, including prohibiting local law enforcement from letting federal authorities know when detainees, who may be subject to deportation, are released from custody.