Similarly, Prime Video from Amazon will also support Chromecast Android TV devices and products.
YouTube will return on Fire TV devices "in the coming months" according to on Amazon. Applications for YouTube TV and YouTube Kids will be available on Amazon's streaming media devices "later this year".
"We are excited to be working with Amazon to launch official YouTube apps on Fire TV devices around the world," said Heather Rivera, global product partner manager at YouTube. "With our flagship YouTube experience on Amazon Fire TV, our users have more ways to watch the videos and the creators they like."
The return of the YouTube app on Fire TV devices ends the long quarrel between Amazon and Google, which saw Amazon remove the application of streaming devices from Amazon in the end of 2017.
Although you can still upload YouTube via the Fire TV web browser, the videos have not been optimized to take advantage of Fire TV devices to provide the best picture and sound quality.
However, with the YouTube app, supported Amazon Fire TV devices will soon be able to stream video at a resolution of up to 4K in HDR up to 60 frames per second.
The same goes for the Prime Video app for Chromecast and Android TV devices that also arrive "in the last few months". Like customers with a 4K supported Fire TV device, anyone with a Chromecast or 4K smart TV ready for 4K can stream selected content from Prime Video with a resolution of up to 4K.
The new deal is a big win for consumers, who unfortunately found themselves caught between the two bickering companies.