Quick answer

If your Facebook, Instagram or email account is hacked, use the platform's official hacked-account recovery page at once, secure your email and phone number first, warn your contacts, and then file a complaint on cybercrime.gov.in. Unauthorised access is an offence under Sections 43 and 66 of the IT Act, and misusing your identity is Section 66C. This applies even when the hacker is a friend, ex-partner or relative.

The first 30 minutes: secure the account that controls everything

Most social media accounts are recovered through the email address or phone number linked to them. So the email account is the master key. If your Gmail or Outlook is safe, secure it first:

  • Change the email password from a device the hacker has never touched.
  • Turn on two-step verification using an authenticator app, not only SMS.
  • Open the security page and sign out of all other sessions and devices.
  • Check forwarding rules and recovery email or phone. Hackers often add their own so they can return later.

If your SIM suddenly stopped working at the same time, the hack may be a SIM swap. Call your mobile operator immediately; our guide on SIM swap fraud compensation covers that case.

Recovering each type of account

AccountWhat usually works
Facebook and InstagramUse the official hacked-account flow from the login page. If the email and number were changed, choose the option saying you no longer have access; Instagram may ask for a video selfie to match your photos.
GmailUse Google account recovery from a device and location you often use. Answer with the most recent password you remember.
WhatsAppReinstall and register your number again; the hacker is logged out when you verify with the SMS code. Then set a two-step PIN. See our WhatsApp hacking and OTP theft guide for the legal side.
X (Twitter), Snapchat, LinkedInEach has a compromised-account form; use only links inside the official app or website.

Never use recovery services advertised in comments or DMs. People who claim they can hack it back for ₹2,000 are either scammers or will take your account themselves.

Damage control while you recover

A hacked account is often used within hours to ask your friends for money by UPI, or to post obscene or abusive content. Tell contacts through another channel, such as a status from another account or a family WhatsApp group, that any money request is fake.

If the hacker is posting intimate images or impersonating you, report the specific posts as well as the account. Under the IT Rules, 2021 platforms must remove intimate images and impersonating content within 24 hours of a complaint.

If anyone already sent money to the hacker, they should call 1930 themselves, since the loss is theirs to report.

When a friend, ex-partner or relative hacked the account

A large share of hacks are done by someone known: an ex who knew the password, a spouse during a matrimonial fight, a colleague who used your logged-in laptop. Knowing the password does not give permission. Logging in without your consent is still unauthorised access.

  • Section 43 read with Section 66 IT Act: unauthorised access and damage to data, a criminal offence when done dishonestly or fraudulently.
  • Section 66C: fraudulently using your password or other unique identification.
  • Section 66E: capturing or publishing private images without consent.
  • Section 72, and stalking under Section 78 BNS where a woman's online activity is monitored against her will.

Evidence pointing to the person matters: login alerts showing their city or device, messages they sent from your account that only they would write, their admission in a chat. Many spouses read each other's chats during a divorce case; evidence obtained that way can create criminal exposure for the person who did it, so take advice before using it.

Filing the hacking complaint

On cybercrime.gov.in, report under other cyber crimes and choose the hacking or account compromise category. Write in simple order: when you lost access, what changed, what the hacker posted or asked for, and whom you suspect and why. Attach login alert emails and screenshots.

You can also give a written complaint at the local police station or the district cyber cell, which is useful when the hacker is a known person in the same city. Follow up using our guide on checking cyber complaint status. If police take no action on a known-person complaint, the remedies in what to do when the police refuse an FIR apply here too.

Accounts of a person who has died

Some readers need access to a deceased family member's email or bank-linked accounts. That is not hacking recovery. Platforms offer memorialisation or inactive-account requests that ask for a death certificate and proof of relationship. Money held in bank or wallet accounts follows succession rules, which may need a succession certificate; see our guide on claiming a deceased person's bank account without a nominee.

How to recover a hacked account and file a complaint

  1. Secure email and phone. Change the email password, enable two-step verification and remove unknown devices, forwarding rules and recovery details.
  2. Use official recovery. Follow the platform's hacked-account process from its own website or app, never a third-party link.
  3. Warn contacts. Tell friends and family through another channel not to send money or open links from your account.
  4. Preserve evidence. Save login alerts, screenshots of messages the hacker sent and posts made from your account.
  5. File a cyber complaint. Report on cybercrime.gov.in or at the cyber cell, naming any suspect and attaching the evidence.

Frequently asked questions

My Facebook was hacked by someone I know. What action can I take?

You can file a complaint under Sections 66 and 66C of the IT Act for unauthorised access and identity misuse, and add stalking or privacy offences if relevant. Save login alerts and messages proving it was that person, and send the complaint with them.

Can the police recover my hacked Instagram account?

Police can ask the platform for data during investigation, but account recovery itself usually happens through Instagram's own process. Do both: recover through the platform and file a complaint for the offence and any misuse.

How do I protect WhatsApp after it was hacked last night?

Reinstall WhatsApp and verify your number again to log the hacker out, then set a two-step verification PIN and check linked devices. Never share the six-digit code with anyone, even someone claiming to be a friend.

Is reading my spouse's email a crime?

Logging in to another person's account without permission, even a spouse's, can be an offence under the IT Act. Courts also look at how evidence was obtained, so take legal advice before using such material in a family case.

Can I get compensation if my account was hacked?

Under Section 43 of the IT Act, the person responsible for unauthorised access is liable to pay compensation. Claims up to ₹5 crore go before the state's Adjudicating Officer, usually the IT Secretary. Recovery depends on identifying the hacker.

Talk to an advocate about your case

Every case turns on its own documents and dates. If you want someone to look at yours, you can book a consultation with a verified advocate on Hire Your Vakeel, or browse advocates who handle cyber law matters.

This guide is general legal information, not legal advice. Laws, fees and portal steps change, so confirm the current position with an advocate before you act.

Need legal help for this matter?

Share your case details and preferred consultation mode. Hire Your Vakeel will help you take the next step with an advocate.

Request advocate consultation