How to Install Kali Linux on VirtualBox: A Complete 2026 Guide
Kali Linux is the industry-standard operating system for penetration testing, ethical hacking, and network security assessments. For beginners and professionals alike, running Kali Linux inside a virtual machine (VM) like VirtualBox is the safest and most efficient way to learn without affecting your primary operating system.
In this guide, we will walk you through the entire process of setting up Kali Linux on VirtualBox, from downloading the necessary files to the final configuration.

Prerequisites
Before we begin, ensure your system meets the following requirements:
- RAM: Minimum 4GB (8GB+ recommended).
- Disk Space: At least 20GB of free space.
- CPU: Virtualization (VT-x or AMD-V) enabled in BIOS/UEFI.
- Internet Connection: To download the required software.
Step 1: Download and Install VirtualBox
VirtualBox is a free and open-source hypervisor that allows you to run multiple operating systems on a single physical machine.
- Go to the VirtualBox Official Website.
- Download the Windows hosts version (if you are on Windows).
- Run the installer and follow the on-screen instructions. It is recommended to keep the default settings.
![]()
Step 2: Download Kali Linux Image
Kali Linux offers two main ways to run on VirtualBox: an ISO image (manual installation) or a Pre-built Virtual Machine image (quicker setup). For this guide, we recommend the pre-built image as it is optimized for VirtualBox.
- Visit the Kali Linux Download Page.
- Select the VirtualBox platform.
- Download the
.vboxfile (it will be a ZIP or 7z file). - Extract the downloaded file to a folder of your choice.
Step 3: Importing Kali Linux into VirtualBox
Once you have extracted the pre-built image:
- Open Oracle VM VirtualBox.
- Click on Machine > Add (or simply double-click the
.vboxfile in your extracted folder). - VirtualBox will automatically import the configuration for Kali Linux.
If you are using the ISO method:
- Click New in VirtualBox and name it "Kali Linux".
- Assign at least 2GB RAM and 2 CPU cores.
- Create a virtual hard disk (VDI) with at least 20GB space.
- In Settings > Storage, mount the downloaded Kali ISO file.
Step 4: Configuring Virtual Machine Settings
To ensure the best performance, adjust these settings before starting:
- System > Processor: Increase the number of cores (at least 2).
- Display > Video Memory: Set to 128MB and enable 3D acceleration.
- Network: Ensure it is set to "NAT" for internet access or "Bridged Adapter" if you want it to appear as a separate device on your network.
Step 5: Starting and Finalizing Installation
- Select your Kali Linux VM and click Start.
- (ISO Method) Follow the graphical installation steps:
- Select your language, location, and keyboard layout.
- Set a hostname (default is
kali). - Create a user account (e.g., username
kaliand passwordkali). - Select "Guided - use entire disk" for partitioning.
- Install the GRUB boot loader.
- Wait for the installation to complete and the system to reboot.

Useful Links & Resources
Here are the links used and mentioned in the guide, along with additional resources from the video:
- VirtualBox Download: virtualbox.org
- Kali Linux Download: kali.org
- Ethical Hacking Course: WsCube Tech Course
- Complete Wi-Fi Tutorial: Watch Playlist
- Mastery in Ethical Hacking [FREE]: Watch Playlist
Watch the Full Video Tutorial
For a detailed visual guide, you can watch the full video by WsCube Tech below:
Conclusion
Installing Kali Linux on VirtualBox is the first step toward becoming a cybersecurity professional. It provides a safe environment to practice tools like Nmap, Metasploit, and Aircrack-ng without risks.
Stay ethical and keep learning! 🚀
About the Author

Akki (Akshay)
"Learning should be a continuous journey."
Akki is a passionate ethical hacker and tech enthusiast. He created this blog to share experiences, tips, and tutorials on various hacking tools and technologies, helping others navigate their path to mastering the cybersecurity world.