Credit card companies follow varied guidelines when it comes to closing accounts because of inactivity. The time period could be as little as six months or even up to 24 months. But not all issuers close all inactive accounts, and you might be able to hang on to one for years. It's important to note that you may or may not receive a notification informing you of your issuer's intention to close your account in advance.