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

<ParamField body="enabled" type="boolean" required>
  `true` to unmute the microphone, `false` to mute it.
</ParamField>

## Return value

Returns `this` for chaining.

## Example

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

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

## See also

<CardGroup>
  <Card title="Types" icon="t" iconType="solid">
    * [DailyCallOptions: startAudioOff](/reference/react-native/types/daily-call-options#param-start-audio-off)
    * [DailyTrackState](/reference/react-native/types/daily-track-state)
  </Card>

  <Card title="Methods" icon="code" iconType="solid">
    * [localAudio()](/reference/react-native/instance-methods/local-audio)
    * [setLocalVideo()](/reference/react-native/instance-methods/set-local-video)
  </Card>

  <Card title="Events" icon="bolt" iconType="solid">
    * [participant-updated](/reference/react-native/events/participant-events#participant-updated)
    * [track-started](/reference/react-native/events/media-events#track-started)
  </Card>

  <Card title="Guides" icon="book-open" iconType="solid">
    * [Audio and video](/docs/daily-js/guides/audio-video)
  </Card>
</CardGroup>
