--- title: "Close a Trace Window (SQL Server Profiler) | Microsoft Docs" ms.custom: "" ms.date: "03/01/2017" ms.prod: sql ms.prod_service: "sql-tools" ms.reviewer: "" ms.technology: profiler ms.topic: conceptual helpviewer_keywords: - "trace window [SQL Server]" - "closing trace window" ms.assetid: a0c1bd77-4d82-435d-be75-ed1cd1eaa11a author: "stevestein" ms.author: "sstein" manager: craigg --- # Close a Trace Window (SQL Server Profiler) [!INCLUDE[appliesto-ss-xxxx-xxxx-xxx-md](../../includes/appliesto-ss-xxxx-xxxx-xxx-md.md)] This topic describes how to close the trace window for traces that are running or for saved traces you are viewing by using [!INCLUDE[ssSqlProfiler](../../includes/sssqlprofiler-md.md)]. ### To close a trace window 1. Select the trace window you want to close. 2. On the **File** menu, click **Close**. > [!IMPORTANT] > If the trace is running, closing a trace window stops the associated trace. ## See Also [SQL Server Profiler Templates and Permissions](../../tools/sql-server-profiler/sql-server-profiler-templates-and-permissions.md) [SQL Server Profiler](../../tools/sql-server-profiler/sql-server-profiler.md)