There are long acting insulins. The onset is 1 to 2 hours with not much peak and has a duration of up to 24 hours. Lantus  and Detemir are 2 types of long acting insulins.