> ## 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.

Paid plans only

`stopRecording(options?)`

✓ Prebuilt✓ Custom

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

## Parameters

**instanceId** `string`

The UUID of the recording instance to stop. Omit to stop the default instance.

## Return value

Returns `void`. Listen for [`recording-stopped`](https://docs.daily.co/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

> [card] Types
>
> * [DailyStreamingOptions](https://docs.daily.co/reference/daily-js/types/daily-streaming-options.md)
> * [DailyStreamingLayoutConfig](https://docs.daily.co/reference/daily-js/types/daily-streaming-layout-config.md)

> [card] Methods
>
> * [startRecording()](https://docs.daily.co/reference/daily-js/instance-methods/start-recording.md)
> * [updateRecording()](https://docs.daily.co/reference/daily-js/instance-methods/update-recording.md)
> * [stopLiveStreaming()](https://docs.daily.co/reference/daily-js/instance-methods/stop-live-streaming.md)

> [card] Events
>
> * [Recording events](https://docs.daily.co/reference/daily-js/events/recording-events.md)

> [card] Guides
>
> * [Recording](https://docs.daily.co/docs/guides/features/recording)

> [card] REST API
>
> * [Create room: enable\_recording](https://docs.daily.co/reference/rest-api/rooms/create-room.md#body-properties-enable-recording)
> * [Stop recording](https://docs.daily.co/reference/rest-api/rooms/recordings/stop.md)
> * [recording-ready-to-download webhook](https://docs.daily.co/reference/rest-api/webhooks/events/recording-ready-to-download.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.