The show - dubbed his Election Autopsy - will mix stand-up with a discussion about the election result in front of a live audience.
The BBC said the show, on May 17, would see Boyle making “a series of bold and often outrageous statements about the vote”.
Boyle, who hosted a similar show after the Scottish referendum, was a regular face on BBC show Mock The Week but left in 2009 after the BBC Trust ruled the programme broke editorial guidelines over a joke he made about the appearance of the swimmer Rebecca Adlington.
Boyle caused further upset with his Channel 4 series Tramadol Nights in which he made comments about Katie Price’s disabled son and which Ofcom said breached the broadcasting code.
He has since parted company with the channel but returned to the BBC for a short comedy film with Bob Mortimer which was launched in June.
It is part of a raft of new shows commissioned for the iPlayer including a series of shorts made by Matt Berry and a private view of Grayson Perry’s exhibition at Turner Contemporary hosted by Jo Brand.
There will also be a series of comedy shorts starring Muslim comedians and a three-part series called My Jihad about a young Muslim couple which is described as “a tender and funny love story set in contemporary Britain”.
Victoria Jaye, head of TV content for the iPlayer, said: “I’m thrilled to have such a vast range of fantastic content coming exclusively to iPlayer in the next few months.
“BBC iPlayer is fast becoming one of the most exciting places for British writers, artists and film makers to create ambitious new work, from original comedy and drama, to feature length documentaries and topical arts and entertainment.
“With requests for iPlayer exclusive content more than tripling in the last year, audiences are recognising BBC iPlayer as more than just a catch-up service.”
SCOTSMAN TABLET AND MOBILE APPS