--- title: Close a Trace Window titleSuffix: SQL Server Profiler description: Discover how to close the trace window in SQL Server Profiler that captures event data. Learn how to close it either during the trace or after it has finished. ms.prod: sql ms.prod_service: sql-tools ms.reviewer: ms.technology: profiler ms.assetid: a0c1bd77-4d82-435d-be75-ed1cd1eaa11a author: markingmyname ms.author: maghan ms.topic: conceptual ms.custom: seo-lt-2019 ms.date: 03/01/2017 --- # Close a Trace Window (SQL Server Profiler) [!INCLUDE [SQL Server](../../includes/applies-to-version/sqlserver.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)