diff --git a/packages/block-library/src/query/edit/inspector-controls/index.js b/packages/block-library/src/query/edit/inspector-controls/index.js
index d9125ca0136c8..6cee0b8192cd6 100644
--- a/packages/block-library/src/query/edit/inspector-controls/index.js
+++ b/packages/block-library/src/query/edit/inspector-controls/index.js
@@ -195,12 +195,14 @@ export default function QueryInspectorControls( props ) {
{ hasPatterns && (
) }
diff --git a/packages/block-library/src/query/edit/pattern-selection.js b/packages/block-library/src/query/edit/pattern-selection.js
index a0c338e8490ad..0c5d95d15206f 100644
--- a/packages/block-library/src/query/edit/pattern-selection.js
+++ b/packages/block-library/src/query/edit/pattern-selection.js
@@ -50,6 +50,7 @@ export default function PatternSelection( {
clientId,
attributes,
showTitlesAsTooltip = false,
+ showSearch = true,
} ) {
const [ searchValue, setSearchValue ] = useState( '' );
const { replaceBlock, selectBlock } = useDispatch( blockEditorStore );
@@ -80,15 +81,17 @@ export default function PatternSelection( {
};
return (
-
-
-
+ { showSearch && (
+
+
+
+ ) }