Import CSV into Microsoft Access
How the Access Import Text Wizard turns CSV and TSV files into tables, what changes during import, and how to keep leading zeros, dates and accented characters intact.
What importing a CSV into Access actually does
A CSV file is plain text. Line breaks separate the rows. A delimiter separates the fields: usually a comma, or a tab in a TSV file. Fields that contain the delimiter can be wrapped in quote characters. Importing that file into Microsoft Access does more than copy the text. Access parses each line into fields, gives each column a data type, and stores the values in a table inside the database file. After that, the values are interpreted data rather than the original characters.
None of this is cosmetic. Suppose a column is typed as Number. It no longer keeps the leading zeros that the text had. A Date/Time column stores a date value, not the string that represented it. The parser consumes the delimiters and text qualifiers, so they do not appear in the stored data. The import is a real change to the stored data, and most import problems come from Access interpreting a column differently than the file's author intended.
Three ways to bring a delimited file into Access
- Import into a new table: Access creates the table from the file's columns and the types you confirm in the wizard.
- Append to an existing table: the incoming columns must line up with the destination table's field names and types, or rows fail to convert.
- Link to the text file: Access reads the file where it sits instead of copying it. Linked text files are read-only from within Access. This suits data that another system keeps updating.
In recent desktop versions, you start an import from External Data, then New Data Source, then From File, then Text File. Older versions put a Text File button directly on the External Data tab. Menu labels shift between versions and Microsoft 365 updates, so treat these paths as a guide rather than an exact click sequence.
Walking through the Import Text Wizard
- 1. Choose the source file and decide whether to import, append or link.
- 2. Choose Delimited for CSV or TSV files. Fixed Width is for files where each column occupies set character positions.
- 3. Pick the delimiter: Comma, Tab, Semicolon, Space, or Other for a custom character. Set the text qualifier, usually the double quote. Tick First Row Contains Field Names if the file has a header row.
- 4. Review each column. You can rename it, set its data type, choose whether to index it, or skip it entirely.
- 5. Choose a primary key: let Access add one, pick an existing column, or use none.
- 6. Name the table, then optionally save the import steps so you can rerun the same import later.
The Advanced button in the wizard opens the import specification. That is where you control the settings that most affect meaning:
• Code page, which is the file's character encoding
• Date order and date delimiter
• Whether years have four digits and whether dates use leading zeros
• Time delimiter
• Decimal symbol
You can save a specification under a name and reuse it for later imports, including imports run from VBA.
Example: what changes between the file and the table
CustomerID,ZIP,Name,Joined,Balance
00417,02134,"Rivera, Ana",03/04/2025,1200.50
00418,10001,Lee,04/03/2025,
This sample is illustrative, not a captured test result. It shows the kinds of interpretation an import performs:
• CustomerID and ZIP: these look numeric. If either is typed as Number, 00417 becomes 417 and 02134 becomes 2134. Identifiers, postal codes and phone numbers should be set to Short Text.
• Name: the value Rivera, Ana contains a comma. With the double quote set as text qualifier, it stays one field. Without it, the line splits into an extra column and every later value shifts.
• Joined: 03/04/2025 is March 4 under month-day-year order and April 3 under day-month-year order. The file itself does not say which is meant, so the Date Order setting decides.
• Balance: the second row's value is empty. In a Number field, that becomes a Null value, not zero.
Common problems and their usual causes
| Symptom | Likely cause | What to adjust |
| Leading zeros missing | Column typed as Number | Set the field to Short Text in the wizard |
| Accented letters or symbols garbled | Code page does not match the file's encoding | In Advanced, choose the file's actual encoding, such as Unicode (UTF-8) |
| Values shifted into the wrong columns | Unquoted delimiter inside a field, or wrong text qualifier | Set the correct text qualifier or fix the source file |
| Dates swapped or rejected | Date order setting does not match the file | Set Date Order and Date Delimiter in Advanced |
| A table ending in _ImportErrors appears | Some values could not convert to the chosen field type | Review that table, correct the type, and reimport |
| Long values rejected or cut short | Short Text holds up to 255 characters | Use Long Text for that column |
| Field names altered or refused | The header contains characters Access does not allow in field names, such as a period, exclamation mark or square brackets | Rename the field in the wizard |
The import errors table deserves special attention. When values cannot be converted, Access logs them in a table named after the destination with _ImportErrors added to the end. The affected cells are left empty in the imported table. An import can therefore appear to finish normally while quietly dropping values. Check for that table after every import, and compare the row count with the source file.
Will the data stay readable and usable afterward?
Inside Access, imported data becomes sortable, filterable, editable (unless linked) and available to queries. Data types now matter for searching. A ZIP code stored as Short Text matches the criterion "02134". A ZIP code stored as a number matches 2134. A query written for one type may miss rows stored as the other.
Copying values out of a datasheet gives you the stored, typed values, not the original file text. Anything lost during import, such as leading zeros or the original date string, does not come back on copy or export. To share the data as a delimited file again, use the text export under External Data. It runs a similar wizard with its own choices for delimiter, qualifier, header row and encoding. Do not assume a receiving system will read the result correctly; check it in that system.
No scoped test of screen readers or other assistive technology with Access datasheets was available for this article. Microsoft publishes accessibility guidance for Access. If you depend on assistive technology, check the specific tables and forms you will use instead of assuming they behave like a plain text file.
Repeating the import with VBA
DoCmd.TransferText acImportDelim, "CustomerImportSpec", "Customers", "C:\Data\customers.csv", True
TransferText with acImportDelim imports a delimited file. The arguments, in order, are:
• The import type (acImportDelim)
• The name of a saved import specification
• The destination table
• The file path
• Whether the first row holds field names
The specification and path shown are placeholders. Using a saved specification makes repeated imports apply the same types, code page and date settings each time. It also removes much of the risk from re-guessed column types.
Is Access the right destination for your CSV?
Importing into Access is worthwhile when you need to:
• Keep the data over time
• Relate it to other tables
• Run repeated queries or reports
• Enforce consistent data types
The main benefit is structure: typed fields, keys, validation and queries. The decisive tradeoff is that import interprets text. Wrong type guesses, a mismatched encoding or the wrong date order change values, sometimes silently. Access databases also have a documented size ceiling of 2 GB per database file in current versions, so very large datasets may need a different home.
Plain CSV is the better choice in these cases:
• The file mainly moves between systems.
• You only need a one-time look at the data.
• Recipients do not have Access, which is a Windows desktop application.
• The exact original characters must be preserved.
Linking is a middle ground when you want to query a file that another process maintains. Whatever you choose, keep the original file as the reference copy.
- Keep an unmodified copy of the source file.
- Set identifiers, postal codes and phone numbers to Short Text.
- Set the code page and date order explicitly instead of accepting defaults.
- Save the import specification for repeat imports.
- Check for an _ImportErrors table and compare row counts with the source.
Gaps in this overview
This overview is based on general, documented Access behavior. It does not draw on version-specific testing, so it includes no measurements of import speed, row capacity or performance. It also includes no tests with specific assistive technologies or destination applications. Wizard defaults and menu labels vary between Access versions. Confirm details against current Microsoft documentation for your version, and do a trial import on a copy of your data before relying on the result.