San Bernardino County sheriff's spokeswoman Jodi Miller says there has been no word of injuries or damage.
Yucaipa is a city of about 50,000 people about 70 miles east of Los Angeles.
There have been at least eight quakes of magnitude-4.0 or bigger in California this year. Quakes of this size can sometimes produce local damage like broken windows near the epicenter.