Skip to content


Unlike Glide, GIFs are not supported by default. However, Coil has an extension library to support them.

To add GIF support, import the extension library:


And add the decoder to your component registry when constructing your ImageLoader:

val imageLoader = ImageLoader(context) {
    componentRegistry {


coil-gif also includes an ImageDecoderDecoder, which is backed by Android P's new ImageDecoder API. However, it is not currently recommended to use ImageDecoderDecoder due to a bug in the Android framework. You can track the status of the bug here.

And that's it! The ImageLoader will automatically detect any GIFs using their file headers and decode them correctly.