DHS Secretary Jeh Johnson approved the candidates’ requests, which were submitted earlier this month, department spokeswoman Marsha Catron confirmed to CNN.
The two candidates will be the first 2016 presidential candidates to receive Secret Service protection.
Democratic front-runner Hillary Clinton already has a Secret Service detail because of her status as a former first lady.
“As prescribed by statute, authorization for Secret Service protection for presidential candidates is determined by the Secretary of Homeland Security after consultation with a congressional advisory committee composed of the speaker of the House, the House minority leader, the Senate majority leader, the Senate minority leader, and an additional member selected by the committee,” Catron said in a statement.
Johnson approved the request after consulting with the advisory committee and looking at factors including the candidates’ standing in the polls, amounts of contributions received and considering the threat environment.