The events of the game take place in the early 1990s. The player takes control of Carl Johnson (C.J.), who had moved to Liberty City in order to distance himself from his past as a member of a gang in his home city, San Andreas. But the past catches up with him in a way he had not imagined: he finds out that his mother was killed by a rival gang. He goes back to San Andreas to attend her funeral. Realizing how corrupted local police is, seeing how his relatives and friends need him, determined to avenge his mother's death, C. J. has no other choice but to revert to his old ways.
As in the previous games, there are many activities to perform outside of the missions. Working as a taxi driver, taking part in races, delivering sick people to the hospital, etc., return from the preceding games in the series. San Andreas adds many new activities of its own, some of them with a role-playing flavor. C.J. can go to the gym and work out, increasing his stamina. From time to time he has to eat - though overeating will make him look fatter. He is also able to have romantic relationships with certain female characters, asking them out for dinner, giving them presents, etc.