Rail companies must now let municipalities know when they're transporting dangerous goods through their communities.
Federal transport Minister Lisa Raitt has issued a so-called protective direction.
A release says it's aimed at enhancing safety and improving communication between railways and communities,
The directive is to remain in place for at least three years.