Check the line for an installment plan before you touch anything. Success check: you know the exact remaining balance, knowing it becomes due immediately on the final bill when the line is canceled, including accessory installment agreements.

Pay off the installment balance early if you plan to keep and reuse the device. Success check: the installment balance for that device shows zero.

Request the device unlock while the line is still active and the account is current. AT&T unlock rules require the device to be paid in full, bought more than 60 days ago, not active on another AT&T account, and not reported lost, stolen, or involved in fraud. Success check: you have an unlock confirmation or the device shows as unlocked before you leave.

Decide your exit path. To keep the number, start the port with the new carrier while the AT&T line is still active and let the completed transfer close the line. To drop the number or close the account outright, go to step 5. Success check: either the new carrier has your port request in progress, or you have chosen a straight cancellation.

Cancel any remaining lines or the whole account by chat when available or by calling 800.331.0500. If you ordered online and your account is in Illinois, Massachusetts, or New York, AT&T says you may be able to cancel at your online account instead. Success check: you get confirmation that the specific lines are canceled, and any connected tablet or watch lines you meant to close are named too.

Read the final bill when it arrives. Success check: it shows the full final bill period with no proration, plus any installment balance that was still open at cancellation, and nothing for lines you did not cancel.