There is provided a topical composition and a method for treating or alleviating pain in a patient in need thereof. The topical composition contain amino acid ester compounds comprising at least one nitric oxide releasing group and pharmaceutical salts thereof and a topical analgesic compound.