A four-metre crocodile has been removed from a far north Queensland river after officials became concerned people were feeding it.

The crocodile was removed from the Endeavour River on Tuesday night after reports it had been hanging around boats and the boat ramp suggesting it had been fed.

Environment Minister Leanne Enoch said that feeding crocodiles causes them to associate people with food, which creates a safety risk.