Optional arguments in programming allow functions to be called with fewer arguments than they are defined to accept, providing default values for any missing inputs. This feature enhances flexibility and code readability by enabling developers to write more concise and adaptable functions.