---
title: "Reference: Workflow.parallel() | Workflows"
description: Documentation for the `Workflow.parallel()` method in workflows, which executes multiple steps in parallel.
packages:
  - "@mastra/core"
---

# Workflow.parallel()

The `.parallel()` method executes multiple steps in parallel.

## Usage example

```typescript
workflow.parallel([step1, step2]);
```

## Parameters

<PropertiesTable
  content={[
    {
      name: "steps",
      type: "Step[]",
      description: "The step instances to execute in parallel",
      isOptional: false,
    },
  ]}
/>

## Returns

<PropertiesTable
  content={[
    {
      name: "workflow",
      type: "Workflow",
      description: "The workflow instance for method chaining",
    },
  ]}
/>

## Related

- [Simultaneous steps with parallel](/docs/v1/workflows/control-flow#simultaneous-steps-with-parallel)
