Amazon SQS FIFO (First-In-First-Out) queues - Amazon Simple Queue Service

Amazon SQS FIFO (First-In-First-Out) queues

FIFO queues have all the capabilities of the standard queue.

FIFO (First-In-First-Out) queues are designed to enhance messaging between applications when the order of operations and events is critical, or where duplicates can't be tolerated. Examples of situations where you might use FIFO queues include the following:

  • To make sure that user-entered commands are run in the right order.

  • To display the correct product price by sending price modifications in the right order.

  • To prevent a student from enrolling in a course before registering for an account.

FIFO queues also provide exactly-once processing but have a limited number of transactions per second (TPS). For information on throughput quotas, see Quotas related to messages.


The name of a FIFO queue must end with the .fifo suffix. The suffix counts towards the 80-character queue name quota. To determine whether a queue is FIFO, you can check whether the queue name ends with the suffix.

Amazon SQS FIFO queues are available in all Regions where Amazon SQS is available.

For information about how to create and configure queues using the Amazon SQS console, see Creating an Amazon SQS queue (console). For Java examples, see Amazon SQS Java SDK examples.

For best practices of working with FIFO queues, see Additional recommendations for Amazon SQS FIFO queues and Recommendations for Amazon SQS standard and FIFO queues.

For information about compatibility of clients and services with FIFO queues, see Compatibility.