The two elections will be held on May 21 between 8 a.m. and 4 p.m.
The Maharashtra election was necessitated as the term of six Legislative Council members will end on May 31 and June 21.
Anil Dattatrey Tatkare's term from the Raigarh-cum-Ratnagiri-cum-Sindhudurg seat will end on May 31, while the terms of Jadhav Jaywantrao Pundlikrao from Nashik, Bhangdiya Mitesh Gotulal from Wardha-cum-Chandrapur-cum-Gadhchiroli, Abdullah Khan A. Latif Khan Durrani from Prabhani-cum-Hingoli, Pravin Ramchandraji Pote from Amravati and Deshmukh Dileeprao Dagdojirao from Osmanabad-cum-Latur-cum-Beed will expire on June 21, according to the ECI.
The by-election in Andhra Pradesh is being held as Gali Muddukrishnama Naidu from the Chittoor local authorities' constituency died on February 7.
The scrutiny of nominations will be on May 4 while the last date for withdrawal of candidature is May 7.
The ECI also said the elections will be completed by May 29.
Get Breaking news, live coverage, and Latest News from India and around the world on NDTV.com. Catch all the Live TV action on NDTV 24x7 and NDTV India. Like us on Facebook or follow us on Twitter and Instagram for latest news and live news updates.