> For the complete documentation index, see [llms.txt](/llms.txt).

# useManageMFA

Hook to manage Multi-Factor Authentication settings for the current user's embedded wallet.

info

This hook only works for social login embedded wallets. It is not available for external wallet connections.

### Import[​](#import "Direct link to Import")

```
import { useManageMFA } from '@web3auth/react-native-sdk'

```

### Usage[​](#usage "Direct link to Usage")

```
import { useManageMFA } from '@web3auth/react-native-sdk'

function ManageMFAButton() {
  const { manageMFA, loading, error } = useManageMFA()

  return (
    <View>
      <Button
        title={loading ? 'Opening MFA settings…' : 'Manage MFA'}
        disabled={loading}
        onPress={() => manageMFA()}
      />
      {error && <Text>{error.message}</Text>}
    </View>
  )
}

```

### Return type[​](#return-type "Direct link to Return type")

#### `manageMFA`[​](#managemfa "Direct link to managemfa")

`() => Promise<void>`

Opens the MFA management screen in the Wallet Services overlay. The user can view, update, or remove existing second factors.

#### `loading`[​](#loading "Direct link to loading")

`boolean`

`true` while the MFA management interface is loading.

#### `error`[​](#error "Direct link to error")

`Web3AuthError | null`

Error from the most recent `manageMFA` call, or `null` if successful.

### Related[​](#related "Direct link to Related")

- [MFA advanced guide](/embedded-wallets/sdk/react-native/advanced/mfa/)
- [useEnableMFA](/embedded-wallets/sdk/react-native/hooks/useEnableMFA/)
