# Multiple WiFi credentials

**URL:** <https://community.particle.io/t/multiple-wifi-credentials/17848>\
**Category:** Getting Started\
**Created:** [November 29, 2015, 8:01am UTC](https://community.particle.io/t/multiple-wifi-credentials/17848 "2015-11-29T08:01:13Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![bayesp](https://avatars.discourse-cdn.com/v4/letter/b/eb8c5e/32.png) [@bayesp](https://community.particle.io/u/bayesp)\
**Post date:** [November 29, 2015, 8:01am UTC](https://community.particle.io/t/multiple-wifi-credentials/17848/1 "2015-11-29T08:01:13Z")

</div>

Hi. Newbie here. Isnit possible to store multiple sets of WiFi credentials on the photon? I have a large house and have different access points around the house with different SSID and passwords. I would like to be able to move the photon to different locations and have it connect to a different AP if needed. Thanks. Paul.

---

<div class="post-metadata">

**Author:** ![kennethlimcp](https://avatars.discourse-cdn.com/v4/letter/k/c0e974/32.png) [@kennethlimcp](https://community.particle.io/u/kennethlimcp)\
**Post date:** [November 29, 2015, 8:16am UTC](https://community.particle.io/t/multiple-wifi-credentials/17848/2 "2015-11-29T08:16:33Z")

</div>

Oh yeah. Simply place the device back into Listening mode and configure another Wifi profile (Up to 5 profile: [https://docs.particle.io/guide/getting-started/modes/photon/#listening-mode](https://docs.particle.io/guide/getting-started/modes/photon/#listening-mode)

Otherwise, you can do it via code as well. [https://docs.particle.io/reference/firmware/photon/#wifi-setcredentials-](https://docs.particle.io/reference/firmware/photon/#wifi-setcredentials-)

---

<div class="post-metadata">

**Author:** ![bayesp](https://avatars.discourse-cdn.com/v4/letter/b/eb8c5e/32.png) [@bayesp](https://community.particle.io/u/bayesp)\
**Post date:** [November 29, 2015, 8:46am UTC](https://community.particle.io/t/multiple-wifi-credentials/17848/3 "2015-11-29T08:46:59Z")

</div>

Chhers for the very prompt response.

---

<div class="post-metadata">

**Author:** ![indraastra](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/indraastra/32/7286_2.png) [@indraastra](https://community.particle.io/u/indraastra)\
**Post date:** [November 30, 2015, 9:28pm UTC](https://community.particle.io/t/multiple-wifi-credentials/17848/4 "2015-11-30T21:28:46Z")

</div>

@kennethlimcp: Thanks, this confirms a question we’ve had about whether configuration replaces old credentials or is additive. After 5 sets of credentials are configured, will it fail outright, or does it start to overwrite previously saved credentials?

---

<div class="post-metadata">

**Author:** ![ScruffR](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/scruffr/32/6952_2.png) [@ScruffR](https://community.particle.io/u/ScruffR)\
**Post date:** [November 30, 2015, 10:22pm UTC](https://community.particle.io/t/multiple-wifi-credentials/17848/5 "2015-11-30T22:22:39Z")

</div>

The docs are somewhat clear about it 😉

> [@](#):
>
> Photon: remembers the 5 _ **most recently set** _ credentials

If you set ten the last five (=most recent) are remembered.

---

<div class="post-metadata">

**Author:** ![indraastra](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/indraastra/32/7286_2.png) [@indraastra](https://community.particle.io/u/indraastra)\
**Post date:** [November 30, 2015, 10:34pm UTC](https://community.particle.io/t/multiple-wifi-credentials/17848/6 "2015-11-30T22:34:23Z")

</div>

Yup, silly me, thanks!
