> ## Documentation Index
> Fetch the complete documentation index at: https://docs.daily.co/llms.txt
> Use this file to discover all available pages before exploring further.

# stopRecording()

> Stops an active recording of a Daily call.

<Badge color="blue">Paid plans only</Badge>

`stopRecording(options?)`

<Badge color="green">{"✓"} Prebuilt</Badge> <Badge color="green">{"✓"} Custom</Badge>

Has no effect if no recording is currently running. If multiple recording instances are running, each must be stopped individually with its `instanceId`.

## Parameters

<ParamField body="instanceId" type="string">
  The UUID of the recording instance to stop. Omit to stop the default instance.
</ParamField>

## Return value

Returns `void`. Listen for [`recording-stopped`](/reference/daily-js/events/recording-events#recording-stopped) to confirm the recording has ended.

## Example

```javascript theme={null}
// Stop the default recording
call.stopRecording();

// Stop a specific instance
call.stopRecording({ instanceId: 'my-instance-id' });
```

## See also

<CardGroup>
  <Card title="Types" icon="t" iconType="solid">
    * [DailyStreamingOptions](/reference/daily-js/types/daily-streaming-options)
    * [DailyStreamingLayoutConfig](/reference/daily-js/types/daily-streaming-layout-config)
  </Card>

  <Card title="Methods" icon="code" iconType="solid">
    * [startRecording()](/reference/daily-js/instance-methods/start-recording)
    * [updateRecording()](/reference/daily-js/instance-methods/update-recording)
    * [stopLiveStreaming()](/reference/daily-js/instance-methods/stop-live-streaming)
  </Card>

  <Card title="Events" icon="bolt" iconType="solid">
    * [Recording events](/reference/daily-js/events/recording-events)
  </Card>

  <Card title="Guides" icon="book-open" iconType="solid">
    * [Recording](/docs/guides/features/recording)
  </Card>

  <Card title="REST API" icon="server" iconType="solid">
    * [Create room: enable\_recording](/reference/rest-api/rooms/create-room#body-properties-enable-recording)
    * [Stop recording](/reference/rest-api/rooms/recordings/stop)
    * [recording-ready-to-download webhook](/reference/rest-api/webhooks/events/recording-ready-to-download)
  </Card>
</CardGroup>
