Ilobasco is a district in the Cabañas department of El Salvador. It is located 30 miles northeast of the capital, San Salvador.