--- title: Clear a Trace Window titleSuffix: SQL Server Profiler description: Find out how to clear the trace window that captures event data in SQL Server Profiler without clearing any trace files or tables. author: rwestMSFT ms.author: randolphwest ms.date: 06/05/2025 ms.service: sql ms.subservice: profiler ms.topic: how-to ms.collection: - data-tools --- # Clear a trace window (SQL Server Profiler) [!INCLUDE [SQL Server Azure SQL Managed Instance](../../includes/applies-to-version/sql-asdbmi.md)] This article describes how to clear the trace window for a trace that is running by using [!INCLUDE [ssSqlProfiler](../../includes/sssqlprofiler-md.md)]. ## Clear a trace window 1. Select the trace window you want to clear. 1. On the **Edit** menu, select **Clear Trace Window**. The contents of the trace window are removed. If the trace file or table has been saved, the contents of the file or table remains unchanged. ## Related content - [SQL Server Profiler](sql-server-profiler.md)