--- title: "Close a Trace Window (SQL Server Profiler) | Microsoft Docs" ms.custom: "" ms.date: "03/01/2017" ms.prod: "sql-server-2016" ms.reviewer: "" ms.suite: "" 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: "JennieHubbard" ms.author: "jhubbard" manager: "jhubbard" --- # Close a Trace Window (SQL Server Profiler) 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)