diff --git a/browser/components/urlbar/UrlbarProviderPlaces.sys.mjs b/browser/components/urlbar/UrlbarProviderPlaces.sys.mjs
index 815734d9a5a589174ac33cb15ff9988d13e78b8c..227511238b13155f70d305bcbaa84dcd45a66e1c 100644
--- a/browser/components/urlbar/UrlbarProviderPlaces.sys.mjs
+++ b/browser/components/urlbar/UrlbarProviderPlaces.sys.mjs
@@ -40,11 +40,13 @@ function defaultQuery(conditions = "") {
   let query = `
      SELECT h.url, h.title, ${SQL_BOOKMARK_TAGS_FRAGMENT}, h.id, t.open_count,
             ${lazy.PAGES_FRECENCY_FIELD} AS frecency, t.userContextId,
-            h.last_visit_date, t.groupId
+            h.last_visit_date, t.groupId, zp.title AS pinned_title, zp.url AS pinned_url
      FROM moz_places h
      LEFT JOIN moz_openpages_temp t
             ON t.url = h.url
             AND (t.userContextId = :userContextId OR (t.userContextId <> -1 AND :userContextId IS NULL))
+     LEFT JOIN zen_pins zp
+                 ON zp.url = h.url
      WHERE (
         (:switchTabsEnabled AND t.open_count > 0) OR
         ${lazy.PAGES_FRECENCY_FIELD} <> 0
@@ -58,7 +60,7 @@ function defaultQuery(conditions = "") {
                               :matchBehavior, :searchBehavior, NULL)
          ELSE
            AUTOCOMPLETE_MATCH(:searchString, h.url,
-                              h.title, '',
+                              IFNULL(zp.title, h.title), '',
                               h.visit_count, h.typed,
                               0, t.open_count,
                               :matchBehavior, :searchBehavior, NULL)
@@ -1114,11 +1116,13 @@ Search.prototype = {
       ? lazy.PlacesUtils.toDate(lastVisitPRTime).getTime()
       : undefined;
     let tabGroup = row.getResultByName("groupId");
+    let pinnedTitle = row.getResultByIndex("pinned_title");
+    let pinnedUrl = row.getResultByIndex("pinned_url");
 
     let match = {
       placeId,
-      value: url,
-      comment: bookmarkTitle || historyTitle,
+      value: pinnedUrl || url,
+      comment: pinnedTitle || bookmarkTitle || historyTitle,
       icon: UrlbarUtils.getIconForUrl(url),
       frecency: frecency || FRECENCY_DEFAULT,
       userContextId,
