You don't need a licence for most common domestic pets. You must make sure your dog is microchipped.
When was the dog licence abolished in the UK?
The dog licence was abolished in 1987 after which a series of consultations led to the dog control measures contained in the Environmental Protection Act 1990 and to the Dangerous Dogs Act 1991.
Is a dog licence mandatory?
A dog licence is required in some jurisdictions to be the keeper of a dog. Usually a dog-licence identifying number is issued to the owner, along with a dog tag bearing the identifier and a contact number for the registering organization.
Why did they stop dog licenses?
Dog licences were phased out 30 years ago, largely because they were ignored by huge numbers of irresponsible owners. The same lack of responsibility is leading the RSPCA to question whether dog ownership rules should be ratcheted up on the first anniversary of compulsory microchipping.

Below are two helpful articles on a similar topic 👇
What is the best way to rehome a cat?Are dogs allowed to roam free UK?