Yes, pets, especially dogs and cats, have been known to sense earthquakes before they occur. They may exhibit signs of restlessness, agitation, or unusual behavior shortly before an earthquake happens. This is believed to be due to their keen sense of hearing and sensitivity to subtle changes in their environment.