---
title: Logout
seo:
  title: Logout | FIX Session
  description: "FIX session Logout reference: field layout, repeating groups,
    supported values, and message-specific behavior."
sidebar:
  label: Logout
---
`MsgType(35)=Logout(5)`

Direction: **Both directions**.

End a FIX session.

## Field Layout

See [FIX Message Layouts](/reference/fix-message-layouts) for field ordering and presence rules.

| Field | Type | Presence | Behavior |
| --- | --- | --- | --- |
| `Text(58)` | [`STRING`](/reference/fix-data-types#string) | Optional |  |
