Why is my cat suddenly aggressive and attacking me after petting?
The first thing I would do for now is put Attila in a room by herself with a litter box, food and water bowls, comfortable resting places, etc. and leave her alone for the next few days apart from coming in briefly to refill her food and water and change her litter. When cats become upset and aggressive like this, for whatever reason, it can take up to a week for them to fully calm down and return to normal - until then, it's best to leave her completely alone and give her plenty of space.
Some cats can have serious aggression issues that are triggered by a strange or scary noise, an unusual smell, or anything else that startles them. It's possible that Attila may have had a scary dream that frightened her, or she could be painful due to a pinched nerve, arthritis, or some other issue that may have been aggravated by petting. If she calms down over the next few days and things return to normal with no further problems, you may not need to do anything else.
If she is still acting aggressive a week from now, or if this becomes a recurring problem for her in the future, I would strongly recommend making an appointment with a veterinary behaviorist - he/she can evaluate Attila in person and help you determine what may be triggering these episodes, and will also give you some specific suggestions for managing her when this happens. Prescription medication is helpful for some cats with aggression issues, so this is something that could be discussed also.
You can search for a board-certified veterinary behaviorist in your area here: www.dacvb.org
Updated on September 23rd, 2025