Enables network connection (local and Internet) with the Arduino MKR WiFi 1010, Arduino MKR VIDOR 4000, Arduino Uno WiFi Rev.2 and Nano 33 IoT.
With this library you can instantiate Servers, Clients and send/receive UDP packets through WiFi. The board can connect either to open or encrypted networks (WEP, WPA). The IP address can be assigned statically or through a DHCP. The library can also manage DNS.

Go to repository


This library is compatible with all architectures so you should be able to use it on all the Arduino boards.


To use this library, open the Library Manager in the Arduino IDE and install it from there.


This library allows you to use the Arduino Uno WiFi Rev.2, Arduino Nano 33 IoT, Arduino MKR 1010 and Arduino MKR VIDOR 4000 WiFi capabilities. It can serve as either a server accepting incoming connections or a client making outgoing ones. The library supports WEP, WPA2 Personal and WPA2 Enterprise encryptions. This library supports all the same methods of the original WiFi library plus the connectSSL(). The WiFiNINA library is very similar to the Ethernet and the WiFi library, and many of the function calls are the same.

To use this library:

#include <SPI.h>
#include <WiFiNINA.h>


Several examples for the WiFiNINA library are available from the Examples from Libraries page.

WiFi Class

Client Class

Server Class

UDP Class