---
title: "FIX 5.0 SP2 EP299: Logout <5> message – FIX Dictionary – Onix Solutions"
description: "<meta name=\"description\" content=\"Logout&lt;5&gt; message &ndash; FIX 5.0 SP2 EP299, FIX protocol version FIX 5.0 SP2 EP299\" /> <meta name=\"keywords\" content=\"message, Logout, MsgType=5, FIX 5.0 SP2 EP299, FIX Protocol, FIX dictionary\" />"
---

<https://www.onixs.biz/fix-dictionary/5.0.sp2.ep299/msgtype_5_5.html#>

![Dictionary icon](https://www.onixs.biz/hubfs/SIC_website_2020/images/interface/img-icon-book.svg)

# Logout <5> message

## FIX 5.0 SP2 EP299

### Description

 The Logout message initiates or confirms the termination of a FIX session. Disconnection without the exchange of Logout messages should be interpreted as an abnormal condition.

 Before actually closing the session, the logout initiator should wait for the opposite side to respond with a confirming Logout message. This gives the remote end a chance to perform any Gap Fill operations that may be necessary. The session may be terminated if the remote side does not respond in an appropriate timeframe.

 After sending the Logout message, the logout initiator should not send any messages unless requested to do so by the logout acceptor via a [ResendRequest <2>](https://www.onixs.biz/fix-dictionary/5.0.sp2.ep299/msgType_2_2.html).

| ![successful-logout-by-initiator](https://www.onixs.biz/hs-fs/hubfs/fix-dictionary/images/successful-logout-by-initiator.png?width=373&name=successful-logout-by-initiator.png) Successful Logout by Initiator | ![successful-logout-by-acceptor](https://www.onixs.biz/hs-fs/hubfs/fix-dictionary/images/successful-logout-by-acceptor.png?width=373&name=successful-logout-by-acceptor.png) Successful Logout by Acceptor |
| --- | --- |

### Structure

| Tag | Field Name | Req'd | Comments |
| --- | --- | --- | --- |
| [Component Block - <StandardHeader>](https://www.onixs.biz/fix-dictionary/5.0.sp2.ep299/compBlock_StandardHeader.html) | Y | [MsgType <35>](https://www.onixs.biz/fix-dictionary/5.0.sp2.ep299/tagNum_35.html) = 5 |  |
| 1409 | [SessionStatus](https://www.onixs.biz/fix-dictionary/5.0.sp2.ep299/tagNum_1409.html) | N | Session status at time of logout. |
| 58 | [Text](https://www.onixs.biz/fix-dictionary/5.0.sp2.ep299/tagNum_58.html) | N |  |
| 354 | [EncodedTextLen](https://www.onixs.biz/fix-dictionary/5.0.sp2.ep299/tagNum_354.html) | N | Must be set if [EncodedText <355>](https://www.onixs.biz/fix-dictionary/5.0.sp2.ep299/tagNum_355.html) field is specified and must immediately precede it. |
| 355 | [EncodedText](https://www.onixs.biz/fix-dictionary/5.0.sp2.ep299/tagNum_355.html) | N | Encoded (non-ASCII characters) representation of the [Text <58>](https://www.onixs.biz/fix-dictionary/5.0.sp2.ep299/tagNum_58.html) field in the encoded format specified via the [MessageEncoding <347>](https://www.onixs.biz/fix-dictionary/5.0.sp2.ep299/tagNum_347.html) field. |
| [Component Block - <StandardTrailer>](https://www.onixs.biz/fix-dictionary/5.0.sp2.ep299/compBlock_StandardTrailer.html) | Y |  |  |

### Sample Messages

 The `^` character is used to represent [`SOH`](https://en.wikipedia.org/wiki/C0_and_C1_control_codes#SOH) character.

```

8=FIXT.1.1^9=91^35=5^49=SellSide^56=BuySide^34=3^52=20190606-09:46:29.240^1128=9^58=Logout acknowledgement^10=193^
```

### Related Messages

- [Logon <A>](https://www.onixs.biz/fix-dictionary/5.0.sp2.ep299/msgType_A_65.html)

- Follow   
  OnixS
- [Follow us on Twitter ](https://twitter.com/onixsbiz)
- [Connect with us on LinkedIn ](https://www.linkedin.com/company/onix-solutions/)

 We track how people interact with our online web content and resources, and some of that tracking involves storing cookies on your device. By continuing to use our site you accept that you agree to this. For more details see our [Cookie usage, and Data Privacy and Protection Policies](https://www.onixs.biz/cookies-and-privacy.html).

[Ok](https://www.onixs.biz/fix-dictionary/5.0.sp2.ep299/msgtype_5_5.html#)

[OnixS ](https://www.onixs.biz/)

Menu

---

---

[OnixS ](https://www.onixs.biz/)

### Search the site

Search