Why is Yoast SEO not outputting a canonical tag?

Yoast normally outputs a self-referencing canonical tag for indexable pages. It may omit the tag when the page has a noindex directive, when another component removes Yoast’s head output, or when the theme does not call the standard WordPress head hook. Check the rendered page source rather than relying on the editor preview.
Confirm that the page is public and allowed in search results. Then inspect header.php for wp_head() and test whether another SEO plugin, theme framework, or custom filter is suppressing canonicals. Cached HTML can preserve a missing tag after the setting has been corrected, so purge every cache layer.
If a custom canonical field is blank, Yoast should usually generate the default URL. A filter attached to wpseo_canonical can change or remove that result. Search custom plugins and the theme for this filter. Restore the default output unless the site has a documented canonical strategy, then verify posts, archives, pagination, and parameterized URLs separately.