From 2006 to 2008, she was office director for the office of Benjamin Netanyahu.
In 2010 she established My Israel with Naftali Bennett and led it until May 2012.

From the end of 2011, she campaigned against illegal immigration from Africa to Israel, saying that it poses a threat to the state and also involves severe economic damage.
She also campaigned against Galei Tzahal saying it had a "left-leaning agenda".

In January 2012 Shaked was elected to serve as a member of the Likud's Central Committee; however, in June 2012 she resigned and joined the Jewish Home.
On 14 November 2012, she won third place in the party's primaries and was placed in the fifth spot on the Jewish Home list for the 2013 elections.
With the list winning 12 seats, Shaked became the only secular Jewish Home MK.
She subsequently joined the Economic Affairs Committee, the House Committee, and the Committee on Foreign Workers, and served as an alternate member on the Finance Committee.
She also chaired the Knesset Committee for the Enforcement of the Security Service Law and the National-Civilian Service Law and the Special Committee for the Equal Sharing of the Burden Bill.

In June 2014, Shaked posted an article by the late Israeli writer Uri Elitzur on Facebook.
The Facebook post was variously described in the media as calling Palestinian children "little snakes" and appearing to justify mass punishment of Palestinians.
Based upon the Facebook post, the then Turkish Prime Minister Recep Tayyip Erdoğan said that Shaked's mindset was no different from Adolf Hitler's.
Israeli Prime Minister Benjamin Netanyahu condemned Erdoğan's comments, stating "Erdogan's anti-Semitic comments profaned the memory of the Holocaust."
The leader of Israeli leftist Meretz party, Zehava Gal-On, suggested that "because of the presidential election Erdoğan has lost control."
Shaked stated that her post was portrayed falsely in the media, especially in that the article was presented as her own words rather than Elitzur's.
She said, "I refer specifically to 'Daily Beast' writer Gideon Resnick, who so misrepresented the facts in one of my recent Facebook posts, one has to wonder if his hatred for my country hasn’t rendered him outright useless to his website and his readers."

In 2015, Shaked won the primary election for the Jewish Home Party, which was considered an achievement as a secular female politician within a religious party.

In December 2018 Shaked was amongst the Jewish Home MKs to leave the party and form the breakaway New Right party.
In the April 2019 Knesset elections, New Right narrowly failed to cross the electoral threshold; as a result, Shaked did not gain a seat in the 21st Knesset.
Following the loss, Shaked initially announced that she will take a break from politics for an undetermined period of time.

On 30 May, after Netanyahu failed to form a governing coalition, the Knesset voted to dissolve itself and a snap election was called which was set to be held on 17 September 2019.
Shaked announced on 21 July that she would take part in the elections as the leader of New Right and on 29 July as the leader of the Yamina alliance, which is composed of the New Right, Tkuma and the Jewish Home.
Yamina won seven seats at the elections.
From 2006 to 2008, she was office director for the office of Benjamin Netanyahu. In 2010 she established My Israel with Naftali Bennett and led it until May 2012.
From the end of 2011, she campaigned against illegal immigration from Africa to Israel, saying that it poses a threat to the state and also involves severe economic damage. She also campaigned against Galei Tzahal saying it had a "left-leaning agenda".
In January 2012 Shaked was elected to serve as a member of the Likud's Central Committee; however, in June 2012 she resigned and joined the Jewish Home. On 14 November 2012, she won third place in the party's primaries and was placed in the fifth spot on the Jewish Home list for the 2013 elections. With the list winning 12 seats, Shaked became the only secular Jewish Home MK. She subsequently joined the Economic Affairs Committee, the House Committee, and the Committee on Foreign Workers, and served as an alternate member on the Finance Committee. She also chaired the Knesset Committee for the Enforcement of the Security Service Law and the National-Civilian Service Law and the Special Committee for the Equal Sharing of the Burden Bill.
In June 2014, Shaked posted an article by the late Israeli writer Uri Elitzur on Facebook. The Facebook post was variously described in the media as calling Palestinian children "little snakes" and appearing to justify mass punishment of Palestinians. Based upon the Facebook post, the then Turkish Prime Minister Recep Tayyip Erdoğan said that Shaked's mindset was no different from Adolf Hitler's. Israeli Prime Minister Benjamin Netanyahu condemned Erdoğan's comments, stating "Erdogan's anti-Semitic comments profaned the memory of the Holocaust." The leader of Israeli leftist Meretz party, Zehava Gal-On, suggested that "because of the presidential election Erdoğan has lost control." Shaked stated that her post was portrayed falsely in the media, especially in that the article was presented as her own words rather than Elitzur's. She said, "I refer specifically to 'Daily Beast' writer Gideon Resnick, who so misrepresented the facts in one of my recent Facebook posts, one has to wonder if his hatred for my country hasn’t rendered him outright useless to his website and his readers."
In 2015, Shaked won the primary election for the Jewish Home Party, which was considered an achievement as a secular female politician within a religious party.
In December 2018 Shaked was amongst the Jewish Home MKs to leave the party and form the breakaway New Right party. In the April 2019 Knesset elections, New Right narrowly failed to cross the electoral threshold; as a result, Shaked did not gain a seat in the 21st Knesset. Following the loss, Shaked initially announced that she will take a break from politics for an undetermined period of time.
On 30 May, after Netanyahu failed to form a governing coalition, the Knesset voted to dissolve itself and a snap election was called which was set to be held on 17 September 2019. Shaked announced on 21 July that she would take part in the elections as the leader of New Right and on 29 July as the leader of the Yamina alliance, which is composed of the New Right, Tkuma and the Jewish Home. Yamina won seven seats at the elections.
Ayelet Shaked