The poll panel's letter to the social media giants comes against the backdrop of Congress president Rahul Gandhi and the Bharatiya Janata Party reportedly asking voters of Madhya Pradesh and Mizoram on the internet platforms to cast ballot in their favour.
Instead of writing to the two parties, the EC preferred to write to Twitter and Facebook, urging them to ensure that election law is not violated.
"The tweets could be taken out by the company," a senior functionary said on the condition of anonymity.
Section 126 of the Representation of the People Act prohibits display of any election matter by means of television or similar apparatus, during the period of 48 hours before the hour fixed for conclusion of polls.
Social media does not fall under the ambit of the law.
The EC's director general (communication), Dhirendra Ojha, told reporters that the letter "has not been written against the backdrop" of the tweets.
He said the two social media majors have been reminded of the provisions of section 126.
A Congress slogan urging people to vote for the party was appended below the two tweets of Gandhi.
BJP Madhya Pradesh had retweeted a tweet by a spokesperson urging people of MP to vote for the party.
'Social media played key role in Lok Sabha polls'
FB, Twitter to help EC check fake news during polls
NaMo, India's first social media PM
Now, our netas won't be able to influence us through Facebook
A dangerous new world: Governance by social media