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

# setLocalAudio()

> Mutes or unmutes the local microphone.

`setLocalAudio(enabled)`

Requires `join()` or `startCamera()` to be called first.

## Parameters

**enabled** `boolean` *required*

`true` to unmute the microphone, `false` to mute it.

## Return value

Returns `this` for chaining.

## Example

```javascript theme={null}
// Mute the mic
call.setLocalAudio(false);

// Unmute the mic
call.setLocalAudio(true);
```

## See also

> [card] Types
>
> * [DailyCallOptions: startAudioOff](https://docs.daily.co/reference/react-native/types/daily-call-options.md#param-start-audio-off)
> * [DailyTrackState](https://docs.daily.co/reference/react-native/types/daily-track-state.md)

> [card] Methods
>
> * [localAudio()](https://docs.daily.co/reference/react-native/instance-methods/local-audio.md)
> * [setLocalVideo()](https://docs.daily.co/reference/react-native/instance-methods/set-local-video.md)

> [card] Events
>
> * [participant-updated](https://docs.daily.co/reference/react-native/events/participant-events.md#participant-updated)
> * [track-started](https://docs.daily.co/reference/react-native/events/media-events.md#track-started)

> [card] Guides
>
> * [Audio and video](https://docs.daily.co/docs/daily-js/guides/audio-video.md)


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