Taking codeine with other painkillers It's safe to take codeine with paracetamol, ibuprofen or aspirin (aspirin is suitable for most people aged 16 and over). Some painkillers that you can buy without a prescription from pharmacies contain codeine.