Scientists are testing theobromine, an active ingredient in cocoa and chocolate.
They believe the chemical works by inhibiting the inappropriate firing of the vagus nerve, which is a key feature of persistent cough.
If tests confirm that it works, the drug could be available within two years.