A pet toy has a body and a lid. The body has an accommodating space and an opening. The accommodating space is formed inside the body, and the opening is formed on an outer surface of the body and communicates with the accommodating space. The lid is detachably mounted on the opening. Therefore, the accommodating space of the pet toy is capable of containing an odor element, and thereby the pet toy can keep emitting smell and tempting pets. In other words, the pet can play the pet toy with appeal in both vision and smell.