--- title: "Close a Trace Window (SQL Server Profiler) | Microsoft Docs" ms.custom: "" ms.date: "03/01/2017" ms.prod: "sql-non-specified" ms.prod_service: "sql-tools" ms.service: "" ms.component: "sql-server-profiler" ms.reviewer: "" ms.suite: "sql" ms.technology: - "database-engine" ms.tgt_pltfrm: "" ms.topic: "article" helpviewer_keywords: - "trace window [SQL Server]" - "closing trace window" ms.assetid: a0c1bd77-4d82-435d-be75-ed1cd1eaa11a caps.latest.revision: 18 author: "stevestein" ms.author: "sstein" manager: "craigg" ms.workload: "Inactive" --- # 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)