Deductions & credits

IRS PUB 502

You can include the cost of a prescribed drug you purchase and consume in another country if the drug is legal in both the other country and the United States