Kokavil (Tamil: கொக்காவில் Sinhala: කොකාවිල්) is a village in Mullaitivu District, Sri Lanka, also called Kokkavil.
Troops were located parallel to the A-9 highway and the old Murikandi-Kokavil Railway Station where the Liberation Tigers of Tamil Eelam (LTTE) massacre on the "Yal Devi" passenger train occurred.
On 19 January 1985, the packed Yal Devi train was attacked by members of the LTTE, triggering a landmine.
He had received orders to abandon the camp, but refused to do so as the majority of his troops were injured and bullets were running low.
The Sri Lanka Army recaptured Kokavil on December 1, 2008, as part of the Eelam War IV.