If you're buying from a dealership, they will likely be able to help you settle your tax liability with the proper authorities. If you're buying a car in a private transaction, then you will probably pay sales tax in the state where you plan to register the car. If there are any complications, such as temporarily registering the car in another state so you can drive it home, then you may want to clarify your responsibilities with your home state's DMV.