Unless otherwise posted, the speed limit in a residential area is:

When driving in a residential area, the maximum speed limit is 25 miles per hour. If a different speed limit is posted, follow the posted speed limit.
DMV Writen Test