Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

Update the TCP idle timeout for your Network Load Balancer listener

Focus mode
Update the TCP idle timeout for your Network Load Balancer listener - Elastic Load Balancing

For each TCP request made through a Network Load Balancer, the state of that connection is tracked. If no data is sent through the connection by either the client or target for longer than the idle timeout, the connection is closed. The default idle timeout value for TCP flows is 350 seconds, but can be updated to any value between 60-6000 seconds.

To update the TCP idle timeout using the console
  1. Open the Amazon EC2 console at https://console.aws.amazon.com/ec2/.

  2. In the navigation pane, under Load Balancing, choose Load Balancers.

  3. Select the Network Load Balancer.

  4. On the listeners tab choose the Actions, View listener details.

  5. On the listener details page, in the Attributes tab, select Edit.

  6. On the Edit listener attributes page, in the Listener attributes section, enter a value for TCP idle timeout.

  7. Choose Save changes

To update the TCP idle timeout using the AWS CLI

Use the modify-listener-attributes command with the tcp.idle_timeout.seconds attribute.

PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.