It depends heavily on where you are going. Many countries, including most of Europe and North America, have no quarantine at all if your paperwork is perfect: microchip, valid rabies vaccination, and health certificate. Arrive with everything in order and your pet walks out with you.
Rabies-free countries and islands are the strict ones. Places in that category historically required weeks or months of quarantine, though several now waive or shorten it to days if you complete the full protocol in advance, especially the rabies antibody blood test with its mandatory waiting period. Skip a step or get a date wrong, and quarantine (at your expense, in a government facility) or even refusal of entry is the fallback.
So quarantine is usually the penalty for incomplete preparation rather than an automatic rule. Start the process several months before your move, follow the destination government's official checklist exactly, and keep certified copies of every document in your hand luggage.