On 27 November 2013, Trzaskowski was sworn in as the Minister of Administration and Digitization by President Bronisław Komorowski. During his ministry, Trzaskowski created a system of notifying the Government Security Center warning citizens, about violent meteorological phenomena. He was responsible for cooperation with local governments, supervision over voivods and assistance to victims in connection with natural disasters, for example during the floods in 2014, as well as cybersecurity, accessibility of content on the Internet for people with disabilities and protection of personal data on the web. On 24 September 2014, he became Deputy Minister of Foreign Affairs of the Republic of Poland and dealt with co-ordinating matters relating to the EU across the different ministries of the Donald Tusk cabinet. At that time, Trzaskowski was the main negotiator in relations with the EU on behalf of the prime minister and coordinated the work of ministries in relations with EU institutions.