It is recommended to microchip pets as early as possible, typically during their first routine vaccination visit, which can be around 8 to 10 weeks of age. This early implantation ensures that a pet has permanent identification from a young age, which can be especially important should the pet become lost or separated from its owner. However, microchipping can be done at any age and is equally effective in adult pets. Always consult with a veterinarian to determine the best timing based on individual health and vaccination schedules.