Police and security services believe the plotters planned to launch an improvised explosive device at Downing Street - where the premier lives - and then kill May in the ensuing chaos, Sky said.
Such is the seriousness of the plot that the director general of MI5, Britain's domestic security agency, briefed cabinet ministers on the plot, Sky said.
Sky said the plot was foiled with the arrest last week of two men by armed police.
London police said that two men arrested last week had been charged with terrorism offenses and would appear in Westminster Magistrates' Court on Wednesday.
It identified them as Naa'imur Zakariyah Rahman, 20, of north London, and Mohammed Aqib Imran, 21, of south-east Birmingham.
Britain faces the most acute threat ever from Islamist militants seeking to inflict mass attacks, often with spontaneous plots that take just days to bring to execution, the head of the MI5 said in October.
Number 10 Downing Street is the official residence of the prime minister. It is heavily guarded.
In 1991, Irish Republican Army (IRA) militants launched a mortar bomb attack on Number 10. John Major, the prime minister at the time, was inside but not hurt.
A Downing Street spokesman declined immediate comment on the report.
(Writing by Guy Faulconbridge; additional reporting by Sangameswaran S in Bengaluru; editing by Kate Holton)