It depends on the type of code. Most promotional codes have an expiration date, while regular PSN codes do not expire. However, codes may expire if they have not been used within a certain period of time, which is usually one year.